mirror of
https://github.com/jellyfin/Swiftfin.git
synced 2024-11-23 22:19:49 +00:00
update ci
This commit is contained in:
parent
4298062ca3
commit
76623c241b
4
.github/workflows/lint-pr.yaml
vendored
4
.github/workflows/lint-pr.yaml
vendored
@ -13,5 +13,5 @@ jobs:
|
||||
- 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
|
||||
|
Loading…
Reference in New Issue
Block a user