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 @@ -14,14 +14,14 @@ jobs:
14
14
name : Lint for correct formatting
15
15
runs-on : ubuntu-latest
16
16
steps :
17
- - uses : actions/checkout@v3
18
- - uses : swift- actions/setup-swift@v1
19
- with :
20
- swift-version : " 5.7.1 "
21
- - name : GitHub Action for SwiftFormat
22
- uses : CassiusPacheco/action- swiftformat@v0.1.0
23
- with :
24
- swiftformat-version : ' 0.50.6 '
17
+ - name : Checkout
18
+ uses : actions/checkout@v3
19
+ - name : Set up Docker Buildx
20
+ uses : docker/setup-buildx-action@v2
21
+ - name : Pull formatting docker image
22
+ run : docker pull ghcr.io/nicklockwood/ swiftformat:latest
23
+ - name : Run format linting
24
+ run : docker run --rm -v ${{ github.workspace }}:/repo ghcr.io/nicklockwood/swiftformat:latest /repo --lint
25
25
26
26
macos :
27
27
name : Build and test on macos-latest
You can’t perform that action at this time.
0 commit comments