mirror of
https://github.com/jellyfin/Swiftfin.git
synced 2024-11-23 14:10:01 +00:00
update ci
This commit is contained in:
parent
4298062ca3
commit
76623c241b
8
.github/workflows/lint-pr.yaml
vendored
8
.github/workflows/lint-pr.yaml
vendored
@ -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
|
||||
|
23
.github/workflows/lint.yml
vendored
23
.github/workflows/lint.yml
vendored
@ -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"
|
@ -5,7 +5,6 @@
|
||||
--indent tab
|
||||
--tabwidth 4
|
||||
--xcodeindentation enabled
|
||||
--self init-only
|
||||
--semicolons never
|
||||
--stripunusedargs closure-only
|
||||
--maxwidth 140
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user