From ce0e790d3990ec315aa1ddb7f4946e81be19c063 Mon Sep 17 00:00:00 2001 From: Jeroen Willemsen Date: Sat, 24 Feb 2024 08:21:04 +0100 Subject: [PATCH] Specify swift version https://github.com/OWASP/wrongsecrets/issues/615 --- .github/workflows/compile_swift.yml | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/.github/workflows/compile_swift.yml b/.github/workflows/compile_swift.yml index 2ece2a6..5969f69 100644 --- a/.github/workflows/compile_swift.yml +++ b/.github/workflows/compile_swift.yml @@ -17,6 +17,11 @@ jobs: runs-on: macos-latest steps: - uses: actions/checkout@v4 + - uses: swift-actions/setup-swift@65540b95f51493d65f5e59e97dcef9629ddf11bf + with: + swift-version: "5.9.0" + - name: Get swift version + run: swift --version # Swift 5.9.0 - name: Compile Swift for MacOS run: | echo "compiling for MacOSP" @@ -31,6 +36,11 @@ jobs: runs-on: macos-latest steps: - uses: actions/checkout@v4 + - uses: swift-actions/setup-swift@65540b95f51493d65f5e59e97dcef9629ddf11bf + with: + swift-version: "5.9.0" + - name: Get swift version + run: swift --version # Swift 5.9.0 - name: Compile Swift for glibc linux run: | echo "compiling for Linux"