diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index ec42635..e07e060 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -35,7 +35,7 @@ jobs: # could use a container with sq tools already installed image: infinitecoding/platformio-for-ci:latest steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v6 with: fetch-depth: 0 @@ -63,11 +63,11 @@ jobs: echo $VERSION > version.txt echo Building OBS Version: $VERSION sed -i 's|-DBUILD_NUMBER=\\"-dev\\"|-DBUILD_NUMBER=\\"'${SEPARATOR}${PATCH}'\\"|' platformio.ini - echo "SONAR_SCANNER_VERSION=7.1.0.4889" >> $GITHUB_ENV + echo "SONAR_SCANNER_VERSION=8.0.1.6346" >> $GITHUB_ENV - name: Cache SonarCloud packages id: cache-sonar - uses: actions/cache@v4 + uses: actions/cache@v5 with: path: | ~/.sonar/cache @@ -300,7 +300,7 @@ jobs: - name: Generate changelog id: changelog if: ${{ env.OBS_PREPARE_RELEASE == 'true' }} - uses: metcalfc/changelog-generator@v4.3.1 + uses: metcalfc/changelog-generator@v4 with: myToken: ${{ secrets.GITHUB_TOKEN }} diff --git a/.github/workflows/codeql-analysis.yml b/.github/workflows/codeql-analysis.yml index 5984567..460a229 100644 --- a/.github/workflows/codeql-analysis.yml +++ b/.github/workflows/codeql-analysis.yml @@ -25,15 +25,12 @@ jobs: name: Analyze runs-on: ubuntu-latest container: - # could use a container with sq tools already installed image: infinitecoding/platformio-for-ci:latest strategy: fail-fast: false matrix: - language: [ 'cpp' ] - # CodeQL supports [ 'cpp', 'csharp', 'go', 'java', 'javascript', 'python' ] - # Learn more: + language: [ 'cpp', 'actions' ] # https://docs.github.com/en/free-pro-team@latest/github/finding-security-vulnerabilities-and-errors-in-your-code/configuring-code-scanning#changing-the-languages-that-are-analyzed steps: @@ -42,7 +39,7 @@ jobs: # Initializes the CodeQL tools for scanning. - name: Initialize CodeQL - uses: github/codeql-action/init@v3 + uses: github/codeql-action/init@v4 with: languages: ${{ matrix.language }} # If you wish to specify custom queries, you can do so here or in a config file. @@ -55,4 +52,4 @@ jobs: platformio ci --build-dir="./bin" --keep-build-dir --project-conf=platformio.ini ./src/ - name: Perform CodeQL Analysis - uses: github/codeql-action/analyze@v3 + uses: github/codeql-action/analyze@v4