We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8f48b91 commit 6b625fbCopy full SHA for 6b625fb
.github/workflows/swift-format.yml
@@ -13,16 +13,12 @@ jobs:
13
swift_format:
14
name: swift-format
15
runs-on: ubuntu-latest
16
+ container: swift:6.0
17
permissions:
18
contents: write
19
steps:
20
- uses: actions/checkout@v5
21
- - name: Setup Swift
22
- uses: swift-actions/setup-swift@v2
23
- with:
24
- swift-version: '6.0'
25
-
26
- name: Cache swift-format
27
id: cache-swift-format
28
uses: actions/cache@v4
@@ -36,7 +32,7 @@ jobs:
36
32
git clone --depth 1 --branch main https://github.com/apple/swift-format.git
37
33
cd swift-format
38
34
swift build -c release
39
- sudo cp .build/release/swift-format /usr/local/bin/
35
+ cp .build/release/swift-format /usr/local/bin/
40
cd ..
41
rm -rf swift-format
42
0 commit comments