From 8d601c331030df5dcdab63677bbf34d0f0f95db8 Mon Sep 17 00:00:00 2001 From: Angela P Wen Date: Wed, 31 Jul 2024 14:26:10 +0200 Subject: [PATCH 1/8] PR checks: Only run Swift build command on MacOS --- tests/multi-language-repo/build.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/multi-language-repo/build.sh b/tests/multi-language-repo/build.sh index 80c08cce84..84d8096144 100755 --- a/tests/multi-language-repo/build.sh +++ b/tests/multi-language-repo/build.sh @@ -8,7 +8,7 @@ javac Main.java go build main.go -if [[ "$OSTYPE" == "darwin"* || "$OSTYPE" == "linux-gnu"* ]]; then +if [[ "$OSTYPE" == "darwin"* ]]; then swift build fi From 9fbd0b9c952734edd7a466e387e29a111ea02b61 Mon Sep 17 00:00:00 2001 From: Angela P Wen Date: Wed, 31 Jul 2024 14:26:52 +0200 Subject: [PATCH 2/8] PR checks: update to only test Swift on MacOS --- .github/workflows/__all-platform-bundle.yml | 3 --- .github/workflows/__build-mode-manual.yml | 4 ---- .../__export-file-baseline-information.yml | 2 +- .github/workflows/__multi-language-autodetect.yml | 15 +++++++++++++-- .github/workflows/__swift-custom-build.yml | 6 ------ .github/workflows/__test-local-codeql.yml | 3 --- .github/workflows/__unset-environment.yml | 13 ++++++++++--- .github/workflows/debug-artifacts.yml | 3 --- .github/workflows/test-codeql-bundle-all.yml | 3 --- pr-checks/checks/all-platform-bundle.yml | 3 --- pr-checks/checks/build-mode-manual.yml | 4 ---- .../checks/export-file-baseline-information.yml | 2 +- pr-checks/checks/multi-language-autodetect.yml | 13 +++---------- pr-checks/checks/swift-custom-build.yml | 2 +- pr-checks/checks/test-local-codeql.yml | 3 --- pr-checks/checks/unset-environment.yml | 11 ----------- 16 files changed, 29 insertions(+), 61 deletions(-) diff --git a/.github/workflows/__all-platform-bundle.yml b/.github/workflows/__all-platform-bundle.yml index 990ea6edac..dea4a41a8a 100644 --- a/.github/workflows/__all-platform-bundle.yml +++ b/.github/workflows/__all-platform-bundle.yml @@ -61,9 +61,6 @@ jobs: uses: ./../action/init with: tools: ${{ steps.prepare-test.outputs.tools-url }} - - uses: ./../action/.github/actions/setup-swift - with: - codeql-path: ${{ steps.init.outputs.codeql-path }} - name: Build code shell: bash run: ./build.sh diff --git a/.github/workflows/__build-mode-manual.yml b/.github/workflows/__build-mode-manual.yml index 1d309a5f9c..2a93c05a07 100644 --- a/.github/workflows/__build-mode-manual.yml +++ b/.github/workflows/__build-mode-manual.yml @@ -74,10 +74,6 @@ jobs: exit 1 fi - - uses: ./../action/.github/actions/setup-swift - with: - codeql-path: ${{ steps.init.outputs.codeql-path }} - - name: Build code shell: bash run: ./build.sh diff --git a/.github/workflows/__export-file-baseline-information.yml b/.github/workflows/__export-file-baseline-information.yml index 582e896e3c..688f9299e5 100644 --- a/.github/workflows/__export-file-baseline-information.yml +++ b/.github/workflows/__export-file-baseline-information.yml @@ -86,7 +86,7 @@ jobs: run: | cd "$RUNNER_TEMP/results" expected_baseline_languages="c csharp go java kotlin javascript python ruby" - if [[ $RUNNER_OS != "Windows" ]]; then + if [[ $RUNNER_OS == "macOS" ]]; then expected_baseline_languages+=" swift" fi diff --git a/.github/workflows/__multi-language-autodetect.yml b/.github/workflows/__multi-language-autodetect.yml index 7b917f725c..d2b6baab5a 100644 --- a/.github/workflows/__multi-language-autodetect.yml +++ b/.github/workflows/__multi-language-autodetect.yml @@ -29,14 +29,24 @@ jobs: include: - os: macos-12 version: stable-20230403 + - os: ubuntu-latest + version: stable-20230403 - os: macos-12 version: stable-v2.13.5 + - os: ubuntu-latest + version: stable-v2.13.5 - os: macos-12 version: stable-v2.14.6 + - os: ubuntu-latest + version: stable-v2.14.6 - os: macos-latest version: stable-v2.15.5 + - os: ubuntu-latest + version: stable-v2.15.5 - os: macos-latest version: stable-v2.16.6 + - os: ubuntu-latest + version: stable-v2.16.6 - os: macos-latest version: default - os: ubuntu-latest @@ -88,6 +98,7 @@ jobs: tools: ${{ steps.prepare-test.outputs.tools-url }} - uses: ./../action/.github/actions/setup-swift + if: runner.os == 'macOS' with: codeql-path: ${{ steps.init.outputs.codeql-path }} @@ -139,8 +150,8 @@ jobs: exit 1 fi - - name: Check language autodetect for Swift - if: runner.os != 'Windows' && matrix.version != 'stable-20230403' + - name: Check language autodetect for Swift on MacOS + if: runner.os == 'macOS' shell: bash run: | SWIFT_DB=${{ fromJson(steps.analysis.outputs.db-locations).swift }} diff --git a/.github/workflows/__swift-custom-build.yml b/.github/workflows/__swift-custom-build.yml index f298b17e20..765c336670 100644 --- a/.github/workflows/__swift-custom-build.yml +++ b/.github/workflows/__swift-custom-build.yml @@ -29,16 +29,10 @@ jobs: include: - os: macos-latest version: linked - - os: ubuntu-latest - version: linked - os: macos-latest version: default - - os: ubuntu-latest - version: default - os: macos-latest version: nightly-latest - - os: ubuntu-latest - version: nightly-latest name: Swift analysis using a custom build command permissions: contents: read diff --git a/.github/workflows/__test-local-codeql.yml b/.github/workflows/__test-local-codeql.yml index b2148455bc..adb275b2d3 100644 --- a/.github/workflows/__test-local-codeql.yml +++ b/.github/workflows/__test-local-codeql.yml @@ -67,9 +67,6 @@ jobs: uses: ./../action/init with: tools: ./codeql-bundle-linux64.tar.gz - - uses: ./../action/.github/actions/setup-swift - with: - codeql-path: ${{ steps.init.outputs.codeql-path }} - name: Build code shell: bash run: ./build.sh diff --git a/.github/workflows/__unset-environment.yml b/.github/workflows/__unset-environment.yml index 3f12a3c2b8..cb2b625ed7 100644 --- a/.github/workflows/__unset-environment.yml +++ b/.github/workflows/__unset-environment.yml @@ -27,6 +27,16 @@ jobs: fail-fast: false matrix: include: + - os: ubuntu-latest + version: stable-20230403 + - os: ubuntu-latest + version: stable-v2.13.5 + - os: ubuntu-latest + version: stable-v2.14.6 + - os: ubuntu-latest + version: stable-v2.15.5 + - os: ubuntu-latest + version: stable-v2.16.6 - os: ubuntu-latest version: default - os: ubuntu-latest @@ -66,9 +76,6 @@ jobs: with: db-location: ${{ runner.temp }}/customDbLocation tools: ${{ steps.prepare-test.outputs.tools-url }} - - uses: ./../action/.github/actions/setup-swift - with: - codeql-path: ${{ steps.init.outputs.codeql-path }} - uses: actions/setup-go@v5 with: go-version: '>=1.21.0' diff --git a/.github/workflows/debug-artifacts.yml b/.github/workflows/debug-artifacts.yml index 17010df62d..135e6e46fb 100644 --- a/.github/workflows/debug-artifacts.yml +++ b/.github/workflows/debug-artifacts.yml @@ -52,9 +52,6 @@ jobs: debug: true debug-artifact-name: my-debug-artifacts debug-database-name: my-db - - uses: ./../action/.github/actions/setup-swift - with: - codeql-path: ${{ steps.init.outputs.codeql-path }} - name: Build code shell: bash run: ./build.sh diff --git a/.github/workflows/test-codeql-bundle-all.yml b/.github/workflows/test-codeql-bundle-all.yml index 54ed2ed115..d675839772 100644 --- a/.github/workflows/test-codeql-bundle-all.yml +++ b/.github/workflows/test-codeql-bundle-all.yml @@ -43,9 +43,6 @@ jobs: uses: ./../action/init with: tools: ${{ steps.prepare-test.outputs.tools-url }} - - uses: ./../action/.github/actions/setup-swift - with: - codeql-path: ${{ steps.init.outputs.codeql-path }} - name: Build code shell: bash run: ./build.sh diff --git a/pr-checks/checks/all-platform-bundle.yml b/pr-checks/checks/all-platform-bundle.yml index 52ef3e234a..2f1a73303c 100644 --- a/pr-checks/checks/all-platform-bundle.yml +++ b/pr-checks/checks/all-platform-bundle.yml @@ -8,9 +8,6 @@ steps: uses: ./../action/init with: tools: ${{ steps.prepare-test.outputs.tools-url }} - - uses: ./../action/.github/actions/setup-swift - with: - codeql-path: ${{ steps.init.outputs.codeql-path }} - name: Build code shell: bash run: ./build.sh diff --git a/pr-checks/checks/build-mode-manual.yml b/pr-checks/checks/build-mode-manual.yml index 623e06ffc9..add7d04d40 100644 --- a/pr-checks/checks/build-mode-manual.yml +++ b/pr-checks/checks/build-mode-manual.yml @@ -20,10 +20,6 @@ steps: exit 1 fi - - uses: ./../action/.github/actions/setup-swift - with: - codeql-path: ${{ steps.init.outputs.codeql-path }} - - name: Build code shell: bash run: ./build.sh diff --git a/pr-checks/checks/export-file-baseline-information.yml b/pr-checks/checks/export-file-baseline-information.yml index f0a8a5d853..759aef849d 100644 --- a/pr-checks/checks/export-file-baseline-information.yml +++ b/pr-checks/checks/export-file-baseline-information.yml @@ -29,7 +29,7 @@ steps: run: | cd "$RUNNER_TEMP/results" expected_baseline_languages="c csharp go java kotlin javascript python ruby" - if [[ $RUNNER_OS != "Windows" ]]; then + if [[ $RUNNER_OS == "macOS" ]]; then expected_baseline_languages+=" swift" fi diff --git a/pr-checks/checks/multi-language-autodetect.yml b/pr-checks/checks/multi-language-autodetect.yml index b1558cebc2..04f7a0cab1 100644 --- a/pr-checks/checks/multi-language-autodetect.yml +++ b/pr-checks/checks/multi-language-autodetect.yml @@ -1,14 +1,6 @@ name: "Multi-language repository" description: "An end-to-end integration test of a multi-language repository using automatic language detection" operatingSystems: ["macos", "ubuntu"] -excludeOsAndVersionCombination: [ - # Known failure for Swift on Linux before CLI v2.17.4. - [ "ubuntu", "stable-20230403" ], - [ "ubuntu", "stable-v2.13.5" ], - [ "ubuntu", "stable-v2.14.6" ], - [ "ubuntu", "stable-v2.15.5" ], - [ "ubuntu", "stable-v2.16.6" ], -] steps: - uses: actions/setup-go@v5 with: @@ -21,6 +13,7 @@ steps: tools: ${{ steps.prepare-test.outputs.tools-url }} - uses: ./../action/.github/actions/setup-swift + if: runner.os == 'macOS' with: codeql-path: ${{ steps.init.outputs.codeql-path }} @@ -72,8 +65,8 @@ steps: exit 1 fi - - name: Check language autodetect for Swift - if: runner.os != 'Windows' && matrix.version != 'stable-20230403' + - name: Check language autodetect for Swift on MacOS + if: runner.os == 'macOS' shell: bash run: | SWIFT_DB=${{ fromJson(steps.analysis.outputs.db-locations).swift }} diff --git a/pr-checks/checks/swift-custom-build.yml b/pr-checks/checks/swift-custom-build.yml index 3bdd0748d5..bde017eaf1 100644 --- a/pr-checks/checks/swift-custom-build.yml +++ b/pr-checks/checks/swift-custom-build.yml @@ -1,7 +1,7 @@ name: "Swift analysis using a custom build command" description: "Tests creation of a Swift database using custom build" versions: ["linked", "default", "nightly-latest"] -operatingSystems: ["macos", "ubuntu"] +operatingSystems: ["macos"] env: DOTNET_GENERATE_ASPNET_CERTIFICATE: "false" steps: diff --git a/pr-checks/checks/test-local-codeql.yml b/pr-checks/checks/test-local-codeql.yml index 92a73a6f6b..ddf01b65ca 100644 --- a/pr-checks/checks/test-local-codeql.yml +++ b/pr-checks/checks/test-local-codeql.yml @@ -13,9 +13,6 @@ steps: uses: ./../action/init with: tools: ./codeql-bundle-linux64.tar.gz - - uses: ./../action/.github/actions/setup-swift - with: - codeql-path: ${{ steps.init.outputs.codeql-path }} - name: Build code shell: bash run: ./build.sh diff --git a/pr-checks/checks/unset-environment.yml b/pr-checks/checks/unset-environment.yml index c3803ff1ed..1795ed0eae 100644 --- a/pr-checks/checks/unset-environment.yml +++ b/pr-checks/checks/unset-environment.yml @@ -1,14 +1,6 @@ name: "Test unsetting environment variables" description: "An end-to-end integration test that unsets some environment variables" operatingSystems: ["ubuntu"] -excludeOsAndVersionCombination: [ - # Known failure for Swift on Linux before CLI v2.17.4. - [ "ubuntu", "stable-20230403" ], - [ "ubuntu", "stable-v2.13.5" ], - [ "ubuntu", "stable-v2.14.6" ], - [ "ubuntu", "stable-v2.15.5" ], - [ "ubuntu", "stable-v2.16.6" ], -] steps: - uses: ./../action/init @@ -16,9 +8,6 @@ steps: with: db-location: ${{ runner.temp }}/customDbLocation tools: ${{ steps.prepare-test.outputs.tools-url }} - - uses: ./../action/.github/actions/setup-swift - with: - codeql-path: ${{ steps.init.outputs.codeql-path }} - uses: actions/setup-go@v5 with: go-version: '>=1.21.0' From ea4581b27b8097390ba68ab97a0e865409282471 Mon Sep 17 00:00:00 2001 From: Angela P Wen Date: Wed, 31 Jul 2024 14:43:25 +0200 Subject: [PATCH 3/8] PR checks: Manually exclude Swift from `init` languages on Linux --- .github/workflows/__all-platform-bundle.yml | 2 ++ .../workflows/__multi-language-autodetect.yml | 15 ++++++++++++--- .github/workflows/__test-local-codeql.yml | 1 + .github/workflows/__unset-environment.yml | 2 ++ .github/workflows/debug-artifacts.yml | 2 ++ .github/workflows/test-codeql-bundle-all.yml | 2 ++ pr-checks/checks/all-platform-bundle.yml | 2 ++ pr-checks/checks/multi-language-autodetect.yml | 17 +++++++++++++---- pr-checks/checks/test-local-codeql.yml | 1 + pr-checks/checks/unset-environment.yml | 2 ++ 10 files changed, 39 insertions(+), 7 deletions(-) diff --git a/.github/workflows/__all-platform-bundle.yml b/.github/workflows/__all-platform-bundle.yml index dea4a41a8a..e91b5757ee 100644 --- a/.github/workflows/__all-platform-bundle.yml +++ b/.github/workflows/__all-platform-bundle.yml @@ -60,6 +60,8 @@ jobs: - id: init uses: ./../action/init with: + # We manually exclude Swift from the languages list here, as it is not supported on Ubuntu + languages: cpp,csharp,go,java,javascript,python,ruby tools: ${{ steps.prepare-test.outputs.tools-url }} - name: Build code shell: bash diff --git a/.github/workflows/__multi-language-autodetect.yml b/.github/workflows/__multi-language-autodetect.yml index d2b6baab5a..4b23699eb6 100644 --- a/.github/workflows/__multi-language-autodetect.yml +++ b/.github/workflows/__multi-language-autodetect.yml @@ -92,7 +92,16 @@ jobs: go-version: '>=1.21.0' - uses: ./../action/init - id: init + if: runner.os == 'Linux' + with: + db-location: ${{ runner.temp }}/customDbLocation + # We manually exclude Swift from the languages list here, as it is not supported on Ubuntu + languages: cpp,csharp,go,java,javascript,python,ruby + tools: ${{ steps.prepare-test.outputs.tools-url }} + + - uses: ./../action/init + id: init-macos + if: runner.os == 'macOS' with: db-location: ${{ runner.temp }}/customDbLocation tools: ${{ steps.prepare-test.outputs.tools-url }} @@ -100,7 +109,7 @@ jobs: - uses: ./../action/.github/actions/setup-swift if: runner.os == 'macOS' with: - codeql-path: ${{ steps.init.outputs.codeql-path }} + codeql-path: ${{ steps.init-macos.outputs.codeql-path }} - name: Build code shell: bash @@ -151,7 +160,7 @@ jobs: fi - name: Check language autodetect for Swift on MacOS - if: runner.os == 'macOS' + if: runner.os == 'macOS' && matrix.version != 'stable-20230403' shell: bash run: | SWIFT_DB=${{ fromJson(steps.analysis.outputs.db-locations).swift }} diff --git a/.github/workflows/__test-local-codeql.yml b/.github/workflows/__test-local-codeql.yml index adb275b2d3..482ea72ced 100644 --- a/.github/workflows/__test-local-codeql.yml +++ b/.github/workflows/__test-local-codeql.yml @@ -66,6 +66,7 @@ jobs: - id: init uses: ./../action/init with: + languages: cpp,csharp,go,java,javascript,python,ruby tools: ./codeql-bundle-linux64.tar.gz - name: Build code shell: bash diff --git a/.github/workflows/__unset-environment.yml b/.github/workflows/__unset-environment.yml index cb2b625ed7..eb809804f3 100644 --- a/.github/workflows/__unset-environment.yml +++ b/.github/workflows/__unset-environment.yml @@ -75,6 +75,8 @@ jobs: id: init with: db-location: ${{ runner.temp }}/customDbLocation + # We manually exclude Swift from the languages list here, as it is not supported on Ubuntu + languages: cpp,csharp,go,java,javascript,python,ruby tools: ${{ steps.prepare-test.outputs.tools-url }} - uses: actions/setup-go@v5 with: diff --git a/.github/workflows/debug-artifacts.yml b/.github/workflows/debug-artifacts.yml index 135e6e46fb..3ac61de084 100644 --- a/.github/workflows/debug-artifacts.yml +++ b/.github/workflows/debug-artifacts.yml @@ -52,6 +52,8 @@ jobs: debug: true debug-artifact-name: my-debug-artifacts debug-database-name: my-db + # We manually exclude Swift from the languages list here, as it is not supported on Ubuntu + languages: cpp,csharp,go,java,javascript,python,ruby - name: Build code shell: bash run: ./build.sh diff --git a/.github/workflows/test-codeql-bundle-all.yml b/.github/workflows/test-codeql-bundle-all.yml index d675839772..2524f58e48 100644 --- a/.github/workflows/test-codeql-bundle-all.yml +++ b/.github/workflows/test-codeql-bundle-all.yml @@ -42,6 +42,8 @@ jobs: - id: init uses: ./../action/init with: + # We manually exclude Swift from the languages list here, as it is not supported on Ubuntu + languages: cpp,csharp,go,java,javascript,python,ruby tools: ${{ steps.prepare-test.outputs.tools-url }} - name: Build code shell: bash diff --git a/pr-checks/checks/all-platform-bundle.yml b/pr-checks/checks/all-platform-bundle.yml index 2f1a73303c..a0c5233133 100644 --- a/pr-checks/checks/all-platform-bundle.yml +++ b/pr-checks/checks/all-platform-bundle.yml @@ -7,6 +7,8 @@ steps: - id: init uses: ./../action/init with: + # We manually exclude Swift from the languages list here, as it is not supported on Ubuntu + languages: cpp,csharp,go,java,javascript,python,ruby tools: ${{ steps.prepare-test.outputs.tools-url }} - name: Build code shell: bash diff --git a/pr-checks/checks/multi-language-autodetect.yml b/pr-checks/checks/multi-language-autodetect.yml index 04f7a0cab1..25019159b1 100644 --- a/pr-checks/checks/multi-language-autodetect.yml +++ b/pr-checks/checks/multi-language-autodetect.yml @@ -1,5 +1,5 @@ name: "Multi-language repository" -description: "An end-to-end integration test of a multi-language repository using automatic language detection" +description: "An end-to-end integration test of a multi-language repository using automatic language detection for MacOS" operatingSystems: ["macos", "ubuntu"] steps: - uses: actions/setup-go@v5 @@ -7,7 +7,16 @@ steps: go-version: ">=1.21.0" - uses: ./../action/init - id: init + if: runner.os == 'Linux' + with: + db-location: "${{ runner.temp }}/customDbLocation" + # We manually exclude Swift from the languages list here, as it is not supported on Ubuntu + languages: cpp,csharp,go,java,javascript,python,ruby + tools: ${{ steps.prepare-test.outputs.tools-url }} + + - uses: ./../action/init + id: init-macos + if: runner.os == 'macOS' with: db-location: "${{ runner.temp }}/customDbLocation" tools: ${{ steps.prepare-test.outputs.tools-url }} @@ -15,7 +24,7 @@ steps: - uses: ./../action/.github/actions/setup-swift if: runner.os == 'macOS' with: - codeql-path: ${{ steps.init.outputs.codeql-path }} + codeql-path: ${{ steps.init-macos.outputs.codeql-path }} - name: Build code shell: bash @@ -66,7 +75,7 @@ steps: fi - name: Check language autodetect for Swift on MacOS - if: runner.os == 'macOS' + if: runner.os == 'macOS' && matrix.version != 'stable-20230403' shell: bash run: | SWIFT_DB=${{ fromJson(steps.analysis.outputs.db-locations).swift }} diff --git a/pr-checks/checks/test-local-codeql.yml b/pr-checks/checks/test-local-codeql.yml index ddf01b65ca..ac95a38c8e 100644 --- a/pr-checks/checks/test-local-codeql.yml +++ b/pr-checks/checks/test-local-codeql.yml @@ -12,6 +12,7 @@ steps: - id: init uses: ./../action/init with: + languages: cpp,csharp,go,java,javascript,python,ruby tools: ./codeql-bundle-linux64.tar.gz - name: Build code shell: bash diff --git a/pr-checks/checks/unset-environment.yml b/pr-checks/checks/unset-environment.yml index 1795ed0eae..fe52d02a11 100644 --- a/pr-checks/checks/unset-environment.yml +++ b/pr-checks/checks/unset-environment.yml @@ -7,6 +7,8 @@ steps: id: init with: db-location: ${{ runner.temp }}/customDbLocation + # We manually exclude Swift from the languages list here, as it is not supported on Ubuntu + languages: cpp,csharp,go,java,javascript,python,ruby tools: ${{ steps.prepare-test.outputs.tools-url }} - uses: actions/setup-go@v5 with: From 762301cdeeefac53b05538bb789b047530ff1dc7 Mon Sep 17 00:00:00 2001 From: Angela P Wen Date: Fri, 2 Aug 2024 14:50:55 +0200 Subject: [PATCH 4/8] Log warning if workflow is running Swift on Ubuntu --- lib/init-action.js | 4 ++++ lib/init-action.js.map | 2 +- src/init-action.ts | 9 +++++++++ 3 files changed, 14 insertions(+), 1 deletion(-) diff --git a/lib/init-action.js b/lib/init-action.js index 6fb4f77466..0b1ac5953e 100644 --- a/lib/init-action.js +++ b/lib/init-action.js @@ -188,6 +188,10 @@ async function run() { core.exportVariable("GOFLAGS", goFlags); core.warning("Passing the GOFLAGS env parameter to the init action is deprecated. Please move this to the analyze action."); } + if (config.languages.includes(languages_1.Language.swift) && + process.platform === "linux") { + logger.warning(`Swift analysis on Ubuntu runner images is no longer supported. Please migrate to a acOS runner if this affects you.`); + } if (config.languages.includes(languages_1.Language.go) && process.platform === "linux") { try { diff --git a/lib/init-action.js.map b/lib/init-action.js.map index e1340f6156..54910e83dd 100644 --- a/lib/init-action.js.map +++ b/lib/init-action.js.map @@ -1 +1 @@ -{"version":3,"file":"init-action.js","sourceRoot":"","sources":["../src/init-action.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;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AK,CACN,CAAC;QACF,OAAO;IACT,CAAC;YAAS,CAAC;QACT,IAAA,qCAAuB,GAAE,CAAC;IAC5B,CAAC;IACD,MAAM,yBAAyB,CAC7B,SAAS,EACT,MAAM,EACN,uBAAuB,EACvB,sBAAsB,EACtB,WAAW,EACX,YAAY,EACZ,MAAM,CACP,CAAC;AACJ,CAAC;AAED,SAAS,qBAAqB;IAC5B,0DAA0D;IAC1D,MAAM,WAAW,GAAG,IAAA,+BAAgB,EAAC,cAAc,CAAC,CAAC;IACrD,IAAI,WAAW,KAAK,SAAS;QAAE,OAAO,WAAW,KAAK,MAAM,CAAC;IAE7D,6FAA6F;IAC7F,IAAI,CAAC,IAAA,qBAAc,GAAE;QAAE,OAAO,KAAK,CAAC;IAEpC,oDAAoD;IACpD,OAAO,IAAI,CAAC;AACd,CAAC;AAED,KAAK,UAAU,UAAU;IACvB,IAAI,CAAC;QACH,MAAM,GAAG,EAAE,CAAC;IACd,CAAC;IAAC,OAAO,KAAK,EAAE,CAAC;QACf,IAAI,CAAC,SAAS,CAAC,uBAAuB,IAAA,gBAAS,EAAC,KAAK,CAAC,CAAC,OAAO,EAAE,CAAC,CAAC;IACpE,CAAC;IACD,MAAM,IAAA,sBAAe,GAAE,CAAC;AAC1B,CAAC;AAED,KAAK,UAAU,EAAE,CAAC"} \ No newline at end of file +{"version":3,"file":"init-action.js","sourceRoot":"","sources":["../src/init-action.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;AAAA,uCAAyB;AACzB,2CAA6B;AAE7B,oDAAsC;AACtC,uDAAmD;AACnD,+BAAoC;AAEpC,iDAOwB;AACxB,6CAAgD;AAGhD,+CAKuB;AACvB,+CAAuC;AACvC,mDAAoD;AACpD,iCAOgB;AAChB,2CAAuC;AACvC,uCAAqD;AACrD,6CAAkD;AAClD,iDAA6C;AAC7C,mDAMyB;AACzB,qDAAgD;AAChD,iDAAmD;AACnD,iCAegB;AAChB,yCAA8C;AA0C9C,KAAK,UAAU,y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N,uBAAuB,EACvB,sBAAsB,EACtB,WAAW,EACX,YAAY,EACZ,MAAM,CACP,CAAC;AACJ,CAAC;AAED,SAAS,qBAAqB;IAC5B,0DAA0D;IAC1D,MAAM,WAAW,GAAG,IAAA,+BAAgB,EAAC,cAAc,CAAC,CAAC;IACrD,IAAI,WAAW,KAAK,SAAS;QAAE,OAAO,WAAW,KAAK,MAAM,CAAC;IAE7D,6FAA6F;IAC7F,IAAI,CAAC,IAAA,qBAAc,GAAE;QAAE,OAAO,KAAK,CAAC;IAEpC,oDAAoD;IACpD,OAAO,IAAI,CAAC;AACd,CAAC;AAED,KAAK,UAAU,UAAU;IACvB,IAAI,CAAC;QACH,MAAM,GAAG,EAAE,CAAC;IACd,CAAC;IAAC,OAAO,KAAK,EAAE,CAAC;QACf,IAAI,CAAC,SAAS,CAAC,uBAAuB,IAAA,gBAAS,EAAC,KAAK,CAAC,CAAC,OAAO,EAAE,CAAC,CAAC;IACpE,CAAC;IACD,MAAM,IAAA,sBAAe,GAAE,CAAC;AAC1B,CAAC;AAED,KAAK,UAAU,EAAE,CAAC"} \ No newline at end of file diff --git a/src/init-action.ts b/src/init-action.ts index f02cb81ab9..2f07942311 100644 --- a/src/init-action.ts +++ b/src/init-action.ts @@ -333,6 +333,15 @@ async function run() { ); } + if ( + config.languages.includes(Language.swift) && + process.platform === "linux" + ) { + logger.warning( + `Swift analysis on Ubuntu runner images is no longer supported. Please migrate to a acOS runner if this affects you.`, + ); + } + if ( config.languages.includes(Language.go) && process.platform === "linux" From 1f0a037a82e8f72e2efbb452af45194d78aba3bd Mon Sep 17 00:00:00 2001 From: Angela P Wen Date: Fri, 2 Aug 2024 14:51:17 +0200 Subject: [PATCH 5/8] Address PR review, clean up comments --- .github/workflows/__all-platform-bundle.yml | 2 +- .../workflows/__multi-language-autodetect.yml | 16 +++++----------- .github/workflows/__test-local-codeql.yml | 1 + .github/workflows/__unset-environment.yml | 2 +- pr-checks/checks/all-platform-bundle.yml | 2 +- pr-checks/checks/multi-language-autodetect.yml | 15 ++++----------- pr-checks/checks/test-local-codeql.yml | 1 + pr-checks/checks/unset-environment.yml | 2 +- 8 files changed, 15 insertions(+), 26 deletions(-) diff --git a/.github/workflows/__all-platform-bundle.yml b/.github/workflows/__all-platform-bundle.yml index e91b5757ee..4bca2dc15d 100644 --- a/.github/workflows/__all-platform-bundle.yml +++ b/.github/workflows/__all-platform-bundle.yml @@ -60,7 +60,7 @@ jobs: - id: init uses: ./../action/init with: - # We manually exclude Swift from the languages list here, as it is not supported on Ubuntu + # Swift is not supported on Ubuntu so we manually exclude it from the list here languages: cpp,csharp,go,java,javascript,python,ruby tools: ${{ steps.prepare-test.outputs.tools-url }} - name: Build code diff --git a/.github/workflows/__multi-language-autodetect.yml b/.github/workflows/__multi-language-autodetect.yml index 4b23699eb6..ba26cfc0d3 100644 --- a/.github/workflows/__multi-language-autodetect.yml +++ b/.github/workflows/__multi-language-autodetect.yml @@ -92,24 +92,18 @@ jobs: go-version: '>=1.21.0' - uses: ./../action/init - if: runner.os == 'Linux' - with: - db-location: ${{ runner.temp }}/customDbLocation - # We manually exclude Swift from the languages list here, as it is not supported on Ubuntu - languages: cpp,csharp,go,java,javascript,python,ruby - tools: ${{ steps.prepare-test.outputs.tools-url }} - - - uses: ./../action/init - id: init-macos - if: runner.os == 'macOS' + id: init with: db-location: ${{ runner.temp }}/customDbLocation + # Swift is not supported on Ubuntu so we manually exclude it from the list here + languages: ${{ runner.os == 'Linux' && 'cpp,csharp,go,java,javascript,python,ruby' + || '' }} tools: ${{ steps.prepare-test.outputs.tools-url }} - uses: ./../action/.github/actions/setup-swift if: runner.os == 'macOS' with: - codeql-path: ${{ steps.init-macos.outputs.codeql-path }} + codeql-path: ${{ steps.init.outputs.codeql-path }} - name: Build code shell: bash diff --git a/.github/workflows/__test-local-codeql.yml b/.github/workflows/__test-local-codeql.yml index 482ea72ced..a4141bca6b 100644 --- a/.github/workflows/__test-local-codeql.yml +++ b/.github/workflows/__test-local-codeql.yml @@ -66,6 +66,7 @@ jobs: - id: init uses: ./../action/init with: + # Swift is not supported on Ubuntu so we manually exclude it from the list here languages: cpp,csharp,go,java,javascript,python,ruby tools: ./codeql-bundle-linux64.tar.gz - name: Build code diff --git a/.github/workflows/__unset-environment.yml b/.github/workflows/__unset-environment.yml index eb809804f3..82436d07f9 100644 --- a/.github/workflows/__unset-environment.yml +++ b/.github/workflows/__unset-environment.yml @@ -75,7 +75,7 @@ jobs: id: init with: db-location: ${{ runner.temp }}/customDbLocation - # We manually exclude Swift from the languages list here, as it is not supported on Ubuntu + # Swift is not supported on Ubuntu so we manually exclude it from the list here languages: cpp,csharp,go,java,javascript,python,ruby tools: ${{ steps.prepare-test.outputs.tools-url }} - uses: actions/setup-go@v5 diff --git a/pr-checks/checks/all-platform-bundle.yml b/pr-checks/checks/all-platform-bundle.yml index a0c5233133..665152427d 100644 --- a/pr-checks/checks/all-platform-bundle.yml +++ b/pr-checks/checks/all-platform-bundle.yml @@ -7,7 +7,7 @@ steps: - id: init uses: ./../action/init with: - # We manually exclude Swift from the languages list here, as it is not supported on Ubuntu + # Swift is not supported on Ubuntu so we manually exclude it from the list here languages: cpp,csharp,go,java,javascript,python,ruby tools: ${{ steps.prepare-test.outputs.tools-url }} - name: Build code diff --git a/pr-checks/checks/multi-language-autodetect.yml b/pr-checks/checks/multi-language-autodetect.yml index 25019159b1..13423be0fb 100644 --- a/pr-checks/checks/multi-language-autodetect.yml +++ b/pr-checks/checks/multi-language-autodetect.yml @@ -7,24 +7,17 @@ steps: go-version: ">=1.21.0" - uses: ./../action/init - if: runner.os == 'Linux' - with: - db-location: "${{ runner.temp }}/customDbLocation" - # We manually exclude Swift from the languages list here, as it is not supported on Ubuntu - languages: cpp,csharp,go,java,javascript,python,ruby - tools: ${{ steps.prepare-test.outputs.tools-url }} - - - uses: ./../action/init - id: init-macos - if: runner.os == 'macOS' + id: init with: db-location: "${{ runner.temp }}/customDbLocation" + # Swift is not supported on Ubuntu so we manually exclude it from the list here + languages: ${{ runner.os == 'Linux' && 'cpp,csharp,go,java,javascript,python,ruby' || '' }} tools: ${{ steps.prepare-test.outputs.tools-url }} - uses: ./../action/.github/actions/setup-swift if: runner.os == 'macOS' with: - codeql-path: ${{ steps.init-macos.outputs.codeql-path }} + codeql-path: ${{ steps.init.outputs.codeql-path }} - name: Build code shell: bash diff --git a/pr-checks/checks/test-local-codeql.yml b/pr-checks/checks/test-local-codeql.yml index ac95a38c8e..08b3d48349 100644 --- a/pr-checks/checks/test-local-codeql.yml +++ b/pr-checks/checks/test-local-codeql.yml @@ -12,6 +12,7 @@ steps: - id: init uses: ./../action/init with: + # Swift is not supported on Ubuntu so we manually exclude it from the list here languages: cpp,csharp,go,java,javascript,python,ruby tools: ./codeql-bundle-linux64.tar.gz - name: Build code diff --git a/pr-checks/checks/unset-environment.yml b/pr-checks/checks/unset-environment.yml index fe52d02a11..bc164bd44a 100644 --- a/pr-checks/checks/unset-environment.yml +++ b/pr-checks/checks/unset-environment.yml @@ -7,7 +7,7 @@ steps: id: init with: db-location: ${{ runner.temp }}/customDbLocation - # We manually exclude Swift from the languages list here, as it is not supported on Ubuntu + # Swift is not supported on Ubuntu so we manually exclude it from the list here languages: cpp,csharp,go,java,javascript,python,ruby tools: ${{ steps.prepare-test.outputs.tools-url }} - uses: actions/setup-go@v5 From e05cdaeb9f5cf2f6dee0fb3e36508669b6851ec9 Mon Sep 17 00:00:00 2001 From: Angela P Wen Date: Fri, 2 Aug 2024 15:54:00 +0200 Subject: [PATCH 6/8] Update src/init-action.ts Co-authored-by: Andrew Eisenberg --- src/init-action.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/init-action.ts b/src/init-action.ts index 2f07942311..e13e47f0c2 100644 --- a/src/init-action.ts +++ b/src/init-action.ts @@ -338,7 +338,7 @@ async function run() { process.platform === "linux" ) { logger.warning( - `Swift analysis on Ubuntu runner images is no longer supported. Please migrate to a acOS runner if this affects you.`, + `Swift analysis on Ubuntu runner images is no longer supported. Please migrate to a macOS runner if this affects you.`, ); } From 64d954fa5d0bc53fe123c8dd5640f7ccb8490c13 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Fri, 2 Aug 2024 13:56:40 +0000 Subject: [PATCH 7/8] Rebuild --- lib/init-action.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/init-action.js b/lib/init-action.js index 0b1ac5953e..6a82a8744d 100644 --- a/lib/init-action.js +++ b/lib/init-action.js @@ -190,7 +190,7 @@ async function run() { } if (config.languages.includes(languages_1.Language.swift) && process.platform === "linux") { - logger.warning(`Swift analysis on Ubuntu runner images is no longer supported. Please migrate to a acOS runner if this affects you.`); + logger.warning(`Swift analysis on Ubuntu runner images is no longer supported. Please migrate to a macOS runner if this affects you.`); } if (config.languages.includes(languages_1.Language.go) && process.platform === "linux") { From b4968194a1b6fd9b189b64fe74e84bce4e81eb8b Mon Sep 17 00:00:00 2001 From: Angela P Wen Date: Fri, 2 Aug 2024 16:09:12 +0200 Subject: [PATCH 8/8] Empty commit