File tree Expand file tree Collapse file tree 1 file changed +8
-8
lines changed Expand file tree Collapse file tree 1 file changed +8
-8
lines changed Original file line number Diff line number Diff line change @@ -10,14 +10,14 @@ jobs:
10
10
name : Format linting
11
11
runs-on : ubuntu-latest
12
12
steps :
13
- - uses : actions/checkout@v3
14
- - uses : sinoru/ actions-setup-swift@v2
15
- with :
16
- swift-version : ' 5.6.1 '
17
- - name : GitHub Action for SwiftFormat
18
- uses : CassiusPacheco/action- swiftformat@v0.1.0
19
- with :
20
- swiftformat-version : ' 0.49.17 '
13
+ - name : Checkout
14
+ uses : actions/checkout@v3
15
+ - name : Set up Docker Buildx
16
+ uses : docker/setup-buildx-action@v2
17
+ - name : Pull formatting docker image
18
+ run : docker pull ghcr.io/nicklockwood/ swiftformat:latest
19
+ - name : Run format linting
20
+ run : docker run --rm -v ${{ github.workspace }}:/repo ghcr.io/nicklockwood/swiftformat:latest /repo --lint
21
21
macos-build :
22
22
name : Build and test on ${{ matrix.os }}
23
23
runs-on : ${{ matrix.os }}
You can’t perform that action at this time.
0 commit comments