diff --git a/.github/workflows/codeql.yml b/.github/workflows/codeql.yml index 5bb4c68..ad7b2ad 100644 --- a/.github/workflows/codeql.yml +++ b/.github/workflows/codeql.yml @@ -1,4 +1,4 @@ -name: Install and run codeQL +name: Download and run codeQL on: pull_request: @@ -11,15 +11,14 @@ jobs: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v4 - - run: | - curl -sSLO https://github.com/github/codeql-action/releases/download/codeql-bundle-v2.15.5/codeql-bundle-linux64.tar.gz | tar -xz + - name: Checkout repository + uses: actions/checkout@v4 - install_and_run_codeql: - needs: download_codeql - runs-on: ubuntu-latest + - name: Download and extract codeql-bundle + run: | + curl -o codeql-bundle.tar.gz https://github.com/github/codeql-action/releases/download/codeql-bundle-v2.15.5/codeql-bundle-linux64.tar.gz + tar -xzvf codeql-bundle.tar.gz - steps: - - uses: actions/checkout@v4 - - run: | - codeql/codeql test run languages/cpp \ No newline at end of file + - name: Run codeQL + run: | + codeql-bundle/codeql test run languages/cpp \ No newline at end of file