Skip to content

Commit d433fa2

Browse files
authored
Update lint.yml
Switch to the packaged form of swift-format and to the 5.5 release toolchain.
1 parent 96560dd commit d433fa2

File tree

1 file changed

+7
-18
lines changed

1 file changed

+7
-18
lines changed

.github/workflows/lint.yml

Lines changed: 7 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -11,27 +11,16 @@ jobs:
1111
lint:
1212
runs-on: windows-latest
1313

14-
strategy:
15-
matrix:
16-
include:
17-
- branch: swift-5.5-branch
18-
tag: 5.5-DEVELOPMENT-SNAPSHOT-2021-05-02-a
19-
2014
steps:
21-
- uses: actions/checkout@v2
22-
- uses: seanmiddleditch/gha-setup-vsdevenv@master
23-
- name: Install Swift
24-
uses: ./.github/actions/install-swift
15+
- uses: compnerd/gha-setup-swift@main
2516
with:
26-
tag: ${{ matrix.tag }}
27-
branch: ${{ matrix.branch }}
17+
branch: swift-5.5-release
18+
tag: 5.5-RELEASE
19+
- name: Install swift-format
20+
run: |
21+
Install-Binary -Url "https://github.com/compnerd/swift-build/releases/download/swift-format-5.5-RELEASE/swift-format.msi" -Name "swift-format.msi" -ArgumentList ("-q")
2822
29-
- uses: robinraju/release-downloader@v1
30-
with:
31-
repository: compnerd/swift-build
32-
tag: swift-format-5.5-DEVELOPMENT-SNAPSHOT-2021-05-02-a
33-
fileName: swift-format.exe
34-
out-file-path: C:\Library\Developer\Toolchains\unknown-Asserts-development.xctoolchain\usr\bin\
23+
- uses: actions/checkout@v2
3524

3625
- uses: compnerd/swift-format-linter-action@main
3726
with:

0 commit comments

Comments
 (0)