Skip to content

Commit ce0e790

Browse files
committed
Specify swift version OWASP/wrongsecrets#615
1 parent 8d9b344 commit ce0e790

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

Diff for: .github/workflows/compile_swift.yml

+10
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,11 @@ jobs:
1717
runs-on: macos-latest
1818
steps:
1919
- uses: actions/checkout@v4
20+
- uses: swift-actions/setup-swift@65540b95f51493d65f5e59e97dcef9629ddf11bf
21+
with:
22+
swift-version: "5.9.0"
23+
- name: Get swift version
24+
run: swift --version # Swift 5.9.0
2025
- name: Compile Swift for MacOS
2126
run: |
2227
echo "compiling for MacOSP"
@@ -31,6 +36,11 @@ jobs:
3136
runs-on: macos-latest
3237
steps:
3338
- uses: actions/checkout@v4
39+
- uses: swift-actions/setup-swift@65540b95f51493d65f5e59e97dcef9629ddf11bf
40+
with:
41+
swift-version: "5.9.0"
42+
- name: Get swift version
43+
run: swift --version # Swift 5.9.0
3444
- name: Compile Swift for glibc linux
3545
run: |
3646
echo "compiling for Linux"

0 commit comments

Comments
 (0)