From 9256297d00419d74e50691d5a72620416cd8829e Mon Sep 17 00:00:00 2001 From: DrAlexD Date: Tue, 16 Jan 2024 11:27:45 +0300 Subject: [PATCH] Workflow test --- .github/workflows/codeql.yml | 21 ++++++++++----------- 1 file changed, 10 insertions(+), 11 deletions(-) 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