From e2b71596522cd9c87c3368cb60917a10e835fac8 Mon Sep 17 00:00:00 2001 From: Aaron Bedra Date: Sat, 24 Aug 2024 19:39:16 -0500 Subject: [PATCH] Update actions checkout version --- .github/workflows/cmake.yml | 4 +-- .github/workflows/codeql.yml | 49 ------------------------------------ 2 files changed, 2 insertions(+), 51 deletions(-) delete mode 100644 .github/workflows/codeql.yml diff --git a/.github/workflows/cmake.yml b/.github/workflows/cmake.yml index 06866e1..e9ad847 100644 --- a/.github/workflows/cmake.yml +++ b/.github/workflows/cmake.yml @@ -20,7 +20,7 @@ jobs: CXX: g++-${{ matrix.version }} steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v4 - name: Install dependencies run: sudo apt-get install libcurl4-openssl-dev @@ -75,7 +75,7 @@ jobs: CXX: clang++-${{ matrix.version }} steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v4 - name: Install dependencies run: sudo apt-get install libcurl4-openssl-dev diff --git a/.github/workflows/codeql.yml b/.github/workflows/codeql.yml deleted file mode 100644 index 08cf876..0000000 --- a/.github/workflows/codeql.yml +++ /dev/null @@ -1,49 +0,0 @@ -name: "CodeQL" - -on: - push: - branches: [ "master" ] - pull_request: - branches: [ "master" ] - schedule: - - cron: "19 19 * * 4" - -jobs: - analyze: - name: Analyze - runs-on: ubuntu-latest - permissions: - actions: read - contents: read - security-events: write - - strategy: - fail-fast: false - matrix: - language: [ cpp ] - - steps: - - name: Checkout - uses: actions/checkout@v3 - - - name: Install Packages - run: | - sudo apt-get update - sudo apt-get install --yes libcurl4 libcurl4-openssl-dev - - - name: Configure - run: mkdir build && cd build && cmake -DENABLE_TEST=OFF -DCMAKE_INSTALL_PREFIX:PATH=/usr -DCMAKE_INSTALL_DIR=. ../ - - - name: Initialize CodeQL - uses: github/codeql-action/init@v2 - with: - languages: ${{ matrix.language }} - queries: +security-and-quality - - - name: Build cpp - run: cd build && make - - - name: Perform CodeQL Analysis - uses: github/codeql-action/analyze@v2 - with: - category: "/language:${{ matrix.language }}"