From afb276cc81a951e8e7e6a495f0d9d2168f3d489e Mon Sep 17 00:00:00 2001 From: tbeu Date: Thu, 8 Feb 2024 20:49:30 +0100 Subject: [PATCH] Bump actions [ci skip] --- .github/workflows/cmake.yml | 6 ++-- .github/workflows/codeql.yml | 55 +++++++++++++++++------------------ .github/workflows/covsync.yml | 1 + 3 files changed, 31 insertions(+), 31 deletions(-) diff --git a/.github/workflows/cmake.yml b/.github/workflows/cmake.yml index aded32e3..74238f9d 100644 --- a/.github/workflows/cmake.yml +++ b/.github/workflows/cmake.yml @@ -1,4 +1,4 @@ -name: "Build with CMake" +name: "CMake build" on: push: @@ -39,7 +39,7 @@ jobs: os: windows-latest compiler: mingw steps: - - name: Checkout Code + - name: Checkout repository uses: actions/checkout@v4 with: fetch-depth: 5 @@ -65,7 +65,7 @@ jobs: else cmake -S . -B build -DCMAKE_BUILD_TYPE=${{ matrix.configuration }} -DMATIO_USE_CONAN=ON -DMATIO_SHARED=OFF fi - - name: Build libraries with ${{ matrix.compiler }} + - name: Build with ${{ matrix.compiler }} run: | if [ "${{ matrix.compiler }}" == "msvc" ]; then cmake --build build --config ${{ matrix.configuration }} diff --git a/.github/workflows/codeql.yml b/.github/workflows/codeql.yml index ac4018c0..686cbf74 100644 --- a/.github/workflows/codeql.yml +++ b/.github/workflows/codeql.yml @@ -19,36 +19,35 @@ jobs: actions: read contents: read security-events: write - strategy: fail-fast: false matrix: language: [ 'cpp' ] - steps: - - name: Checkout repository - uses: actions/checkout@v4 - - # Initializes the CodeQL tools for scanning. - - name: Initialize CodeQL - uses: github/codeql-action/init@v2 - with: - languages: ${{ matrix.language }} - # If you wish to specify custom queries, you can do so here or in a config file. - # By default, queries listed here will override any specified in a config file. - # Prefix the list here with "+" to use these queries and those in the config file. - - # For more details on CodeQL's query packs, refer to: https://docs.github.com/en/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-code-scanning#using-queries-in-ql-packs - # queries: security-extended,security-and-quality - - - name: Build matio - run: | - ./autogen.sh - ./configure --disable-tests --with-zlib --enable-mat73=yes --with-hdf5 - make - sudo make install - - - name: Perform CodeQL Analysis - uses: github/codeql-action/analyze@v2 - with: - category: "/language:${{matrix.language}}" + - name: Checkout repository + uses: actions/checkout@v4 + with: + fetch-depth: 5 + # Initializes the CodeQL tools for scanning. + - name: Initialize CodeQL + uses: github/codeql-action/init@v3 + with: + languages: ${{ matrix.language }} + # If you wish to specify custom queries, you can do so here or in a config file. + # By default, queries listed here will override any specified in a config file. + # Prefix the list here with "+" to use these queries and those in the config file. + + # For more details on CodeQL's query packs, refer to: https://docs.github.com/en/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-code-scanning#using-queries-in-ql-packs + # queries: security-extended,security-and-quality + - name: Configure + run: | + ./autogen.sh + ./configure --disable-tests --with-zlib --enable-mat73=yes --with-hdf5 + - name: Build + run: | + make + sudo make install + - name: Perform CodeQL analysis + uses: github/codeql-action/analyze@v3 + with: + category: "/language:${{matrix.language}}" diff --git a/.github/workflows/covsync.yml b/.github/workflows/covsync.yml index dff00160..cde5abe9 100644 --- a/.github/workflows/covsync.yml +++ b/.github/workflows/covsync.yml @@ -9,6 +9,7 @@ jobs: build: runs-on: ubuntu-latest steps: + - name: Sync coverity_scan branch - uses: actions/checkout@v4 with: fetch-depth: 0