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:
1414 name : Lint for correct formatting
1515 runs-on : ubuntu-latest
1616 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
2525
2626 macos :
2727 name : Build and test on macos-latest
You can’t perform that action at this time.
0 commit comments