diff --git a/.github/workflows/__zstd-bundle-fallback.yml b/.github/workflows/__zstd-bundle-fallback.yml index fe927ca5a7..a37ebe1251 100644 --- a/.github/workflows/__zstd-bundle-fallback.yml +++ b/.github/workflows/__zstd-bundle-fallback.yml @@ -70,12 +70,8 @@ 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 + languages: javascript tools: ${{ steps.prepare-test.outputs.tools-url }} - - name: Build code - shell: bash - run: ./build.sh - uses: ./../action/analyze with: output: ${{ runner.temp }}/results @@ -84,12 +80,12 @@ jobs: uses: actions/upload-artifact@v3 with: name: zstd-bundle.sarif - path: ${{ runner.temp }}/results/cpp.sarif + path: ${{ runner.temp }}/results/javascript.sarif retention-days: 7 - name: Check expected diagnostics uses: actions/github-script@v7 env: - SARIF_PATH: ${{ runner.temp }}/results/cpp.sarif + SARIF_PATH: ${{ runner.temp }}/results/javascript.sarif with: script: | const fs = require('fs'); diff --git a/.github/workflows/__zstd-bundle.yml b/.github/workflows/__zstd-bundle.yml index e6c8a81b73..a15d6330d4 100644 --- a/.github/workflows/__zstd-bundle.yml +++ b/.github/workflows/__zstd-bundle.yml @@ -70,12 +70,8 @@ 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 + languages: javascript tools: ${{ steps.prepare-test.outputs.tools-url }} - - name: Build code - shell: bash - run: ./build.sh - uses: ./../action/analyze with: output: ${{ runner.temp }}/results @@ -84,12 +80,12 @@ jobs: uses: actions/upload-artifact@v3 with: name: zstd-bundle.sarif - path: ${{ runner.temp }}/results/cpp.sarif + path: ${{ runner.temp }}/results/javascript.sarif retention-days: 7 - name: Check diagnostic with expected tools URL appears in SARIF uses: actions/github-script@v7 env: - SARIF_PATH: ${{ runner.temp }}/results/cpp.sarif + SARIF_PATH: ${{ runner.temp }}/results/javascript.sarif with: script: | const fs = require('fs'); diff --git a/pr-checks/checks/zstd-bundle-fallback.yml b/pr-checks/checks/zstd-bundle-fallback.yml index fdca2be318..40549b377b 100644 --- a/pr-checks/checks/zstd-bundle-fallback.yml +++ b/pr-checks/checks/zstd-bundle-fallback.yml @@ -21,12 +21,8 @@ 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 + languages: javascript tools: ${{ steps.prepare-test.outputs.tools-url }} - - name: Build code - shell: bash - run: ./build.sh - uses: ./../action/analyze with: output: ${{ runner.temp }}/results @@ -35,12 +31,12 @@ steps: uses: actions/upload-artifact@v3 with: name: zstd-bundle.sarif - path: ${{ runner.temp }}/results/cpp.sarif + path: ${{ runner.temp }}/results/javascript.sarif retention-days: 7 - name: Check expected diagnostics uses: actions/github-script@v7 env: - SARIF_PATH: ${{ runner.temp }}/results/cpp.sarif + SARIF_PATH: ${{ runner.temp }}/results/javascript.sarif with: script: | const fs = require('fs'); diff --git a/pr-checks/checks/zstd-bundle.yml b/pr-checks/checks/zstd-bundle.yml index b6403c53fa..b8608a954f 100644 --- a/pr-checks/checks/zstd-bundle.yml +++ b/pr-checks/checks/zstd-bundle.yml @@ -20,12 +20,8 @@ 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 + languages: javascript tools: ${{ steps.prepare-test.outputs.tools-url }} - - name: Build code - shell: bash - run: ./build.sh - uses: ./../action/analyze with: output: ${{ runner.temp }}/results @@ -34,12 +30,12 @@ steps: uses: actions/upload-artifact@v3 with: name: zstd-bundle.sarif - path: ${{ runner.temp }}/results/cpp.sarif + path: ${{ runner.temp }}/results/javascript.sarif retention-days: 7 - name: Check diagnostic with expected tools URL appears in SARIF uses: actions/github-script@v7 env: - SARIF_PATH: ${{ runner.temp }}/results/cpp.sarif + SARIF_PATH: ${{ runner.temp }}/results/javascript.sarif with: script: | const fs = require('fs');