From 426ffaac98ec979f8569957b6a2d123dc7c8f2eb Mon Sep 17 00:00:00 2001 From: Thijs Triemstra Date: Tue, 6 Jan 2026 00:32:00 +0100 Subject: [PATCH] ci: update dependencies (#1637) * Update checkout action version in workflow * Update CodeQL actions to v4 CodeQL Action major versions v1 and v2 have been deprecated. For more information, see https://github.blog/changelog/2025-01-10-code-scanning-codeql-action-v2-is-now-deprecated/ * update deps * Upgrade github-script action to version 8 --- .github/workflows/codeql.yml | 8 ++++---- .github/workflows/docs.yml | 6 +++--- .github/workflows/missing_log.yml | 2 +- .github/workflows/test_code.yml | 2 +- 4 files changed, 9 insertions(+), 9 deletions(-) diff --git a/.github/workflows/codeql.yml b/.github/workflows/codeql.yml index eebdfd1a..e99b633e 100644 --- a/.github/workflows/codeql.yml +++ b/.github/workflows/codeql.yml @@ -49,11 +49,11 @@ jobs: steps: - name: Checkout repository - uses: actions/checkout@v3 + uses: actions/checkout@v6 # Initializes the CodeQL tools for scanning. - name: Initialize CodeQL - uses: github/codeql-action/init@v2 + 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. @@ -67,7 +67,7 @@ jobs: # Autobuild attempts to build any compiled languages (C/C++, C#, Go, Java, or Swift). # If this step fails, then you should remove it and run the build manually (see below) - name: Autobuild - uses: github/codeql-action/autobuild@v2 + uses: github/codeql-action/autobuild@v4 # â„šī¸ Command-line programs to run using the OS shell. # 📚 See https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#jobsjob_idstepsrun @@ -80,6 +80,6 @@ jobs: # ./location_of_script_within_repo/buildscript.sh - name: Perform CodeQL Analysis - uses: github/codeql-action/analyze@v2 + uses: github/codeql-action/analyze@v4 with: category: "/language:${{matrix.language}}" diff --git a/.github/workflows/docs.yml b/.github/workflows/docs.yml index ce785404..ab4167be 100644 --- a/.github/workflows/docs.yml +++ b/.github/workflows/docs.yml @@ -10,16 +10,16 @@ jobs: deploy: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v6 - name: Configure Git Credentials run: | git config user.name github-actions[bot] git config user.email 41898282+github-actions[bot]@users.noreply.github.com - - uses: actions/setup-python@v4 + - uses: actions/setup-python@v6 with: python-version: 3.x - run: echo "cache_id=$(date --utc '+%V')" >> $GITHUB_ENV - - uses: actions/cache@v3 + - uses: actions/cache@v5 with: key: mkdocs-material-${{ env.cache_id }} path: .cache diff --git a/.github/workflows/missing_log.yml b/.github/workflows/missing_log.yml index 18c40cfe..206db6fa 100644 --- a/.github/workflows/missing_log.yml +++ b/.github/workflows/missing_log.yml @@ -8,7 +8,7 @@ jobs: if: contains(github.event.issue.labels.*.name, 'missing-log') runs-on: ubuntu-latest steps: - - uses: actions/github-script@v7 + - uses: actions/github-script@v8 with: script: | github.rest.issues.createComment({ diff --git a/.github/workflows/test_code.yml b/.github/workflows/test_code.yml index 97c31300..6083549d 100644 --- a/.github/workflows/test_code.yml +++ b/.github/workflows/test_code.yml @@ -12,7 +12,7 @@ jobs: lint-python-code: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v6 - uses: ricardochaves/python-lint@v1.4.0 with: python-root-list: "screen.py ks_includes panels"