update ci

This commit is contained in:
Ethan Pippin 2022-01-10 12:34:08 -07:00
parent 4298062ca3
commit 76623c241b
4 changed files with 5 additions and 29 deletions

View File

@ -8,10 +8,10 @@ jobs:
build:
name: "Lint 🧹"
runs-on: macos-latest
steps:
- name: Checkout
uses: actions/checkout@v2.3.4
- name: Run SwiftLint
run: swiftlint
- name: Run Swiftformat
run: swiftformat . --lint

View File

@ -1,23 +0,0 @@
name: "Lint 🧹"
on:
push:
branches: [ main ]
jobs:
build:
name: "Lint 🧹"
runs-on: macos-latest
steps:
- name: Checkout
uses: actions/checkout@v2.3.4
- name: Run SwiftLint
run: swiftlint --fix
- name: Create Pull Request
uses: peter-evans/create-pull-request@v3
with:
title: "[ci] SwiftLint"
reviewers: "acvigue"

View File

@ -5,7 +5,6 @@
--indent tab
--tabwidth 4
--xcodeindentation enabled
--self init-only
--semicolons never
--stripunusedargs closure-only
--maxwidth 140

View File

@ -14,7 +14,7 @@ class AppDelegate: NSObject, UIApplicationDelegate {
static var orientationLock = UIInterfaceOrientationMask.all
func application(_ application: UIApplication,
didFinishLaunchingWithOptions launchOptions: [UIApplication.LaunchOptionsKey: Any]? = nil) -> Bool
didFinishLaunchingWithOptions launchOptions: [UIApplication.LaunchOptionsKey: Any]? = nil) -> Bool
{
// Lazily initialize datastack