diff --git a/.github/workflows/arm.yml b/.github/workflows/arm.yml index 1362b57b2..c81d3d448 100644 --- a/.github/workflows/arm.yml +++ b/.github/workflows/arm.yml @@ -11,14 +11,14 @@ jobs: ec2-instance-id: ${{ steps.start-ec2-runner.outputs.ec2-instance-id }} steps: - name: Configure AWS credentials - uses: aws-actions/configure-aws-credentials@v4 + uses: aws-actions/configure-aws-credentials@v6 with: aws-access-key-id: ${{ secrets.AWS_ACCESS_KEY_ID }} aws-secret-access-key: ${{ secrets.AWS_SECRET_ACCESS_KEY }} aws-region: ${{ secrets.AWS_REGION }} - name: Start EC2 runner id: start-ec2-runner - uses: machulav/ec2-github-runner@v2.4.1 + uses: machulav/ec2-github-runner@v2.6.1 with: mode: start github-token: ${{ secrets.GH_PERSONAL_ACCESS_TOKEN }} @@ -44,13 +44,13 @@ jobs: if: ${{ always() }} # required to stop the runner even if the error happened in the previous jobs steps: - name: Configure AWS credentials - uses: aws-actions/configure-aws-credentials@v4 + uses: aws-actions/configure-aws-credentials@v6 with: aws-access-key-id: ${{ secrets.AWS_ACCESS_KEY_ID }} aws-secret-access-key: ${{ secrets.AWS_SECRET_ACCESS_KEY }} aws-region: ${{ secrets.AWS_REGION }} - name: Stop EC2 runner - uses: machulav/ec2-github-runner@v2.4.1 + uses: machulav/ec2-github-runner@v2.6.1 with: mode: stop github-token: ${{ secrets.GH_PERSONAL_ACCESS_TOKEN }} diff --git a/.github/workflows/codeql-analysis.yml b/.github/workflows/codeql-analysis.yml index 404d6418f..054cf68d9 100644 --- a/.github/workflows/codeql-analysis.yml +++ b/.github/workflows/codeql-analysis.yml @@ -32,11 +32,11 @@ jobs: steps: - name: Checkout repository - uses: actions/checkout@v4 + uses: actions/checkout@v6 # 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. @@ -47,7 +47,7 @@ jobs: # Autobuild attempts to build any compiled languages (C/C++, C#, or Java). # If this step fails, then you should remove it and run the build manually (see below) - name: Autobuild - uses: github/codeql-action/autobuild@v3 + uses: github/codeql-action/autobuild@v4 # â„šī¸ Command-line programs to run using the OS shell. # 📚 https://git.io/JvXDl @@ -59,4 +59,4 @@ jobs: # - run: make - name: Perform CodeQL Analysis - uses: github/codeql-action/analyze@v3 + uses: github/codeql-action/analyze@v4 diff --git a/.github/workflows/coverage.yml b/.github/workflows/coverage.yml index c9bf50263..4096eb395 100644 --- a/.github/workflows/coverage.yml +++ b/.github/workflows/coverage.yml @@ -9,14 +9,14 @@ jobs: ec2-instance-id: ${{ steps.start-ec2-runner.outputs.ec2-instance-id }} steps: - name: Configure AWS credentials - uses: aws-actions/configure-aws-credentials@v4 + uses: aws-actions/configure-aws-credentials@v6 with: aws-access-key-id: ${{ secrets.AWS_ACCESS_KEY_ID }} aws-secret-access-key: ${{ secrets.AWS_SECRET_ACCESS_KEY }} aws-region: ${{ secrets.AWS_REGION }} - name: Start EC2 runner id: start-ec2-runner - uses: machulav/ec2-github-runner@v2 + uses: machulav/ec2-github-runner@v2.6.1 with: mode: start github-token: ${{ secrets.GH_PERSONAL_ACCESS_TOKEN }} @@ -33,15 +33,15 @@ jobs: runs-on: ${{ needs.start-runner.outputs.label }} # run the job on the newly created runner steps: - name: checkout - uses: actions/checkout@v4 + uses: actions/checkout@v6 - name: install dependencies run: sudo .install/install_script.sh - name: run codecov run: make coverage - name: Upload coverage to Codecov - uses: codecov/codecov-action@v4 + uses: codecov/codecov-action@v6 # NOSONAR with: - file: ./bin/Linux-x86_64-debug/cov.info + files: ./bin/Linux-x86_64-debug/cov.info token: ${{ secrets.CODECOV_TOKEN }} disable_safe_directory: true disable_search: true @@ -55,13 +55,13 @@ jobs: if: ${{ always() }} steps: - name: Configure AWS credentials - uses: aws-actions/configure-aws-credentials@v4 + uses: aws-actions/configure-aws-credentials@v6 with: aws-access-key-id: ${{ secrets.AWS_ACCESS_KEY_ID }} aws-secret-access-key: ${{ secrets.AWS_SECRET_ACCESS_KEY }} aws-region: ${{ secrets.AWS_REGION }} - name: Stop EC2 runner - uses: machulav/ec2-github-runner@v2 + uses: machulav/ec2-github-runner@v2.6.1 with: mode: stop github-token: ${{ secrets.GH_PERSONAL_ACCESS_TOKEN }} diff --git a/.github/workflows/event-pull_request.yml b/.github/workflows/event-pull_request.yml index c39eb7f69..1a65776b7 100644 --- a/.github/workflows/event-pull_request.yml +++ b/.github/workflows/event-pull_request.yml @@ -14,9 +14,9 @@ jobs: cancel-in-progress: true steps: - name: checkout - uses: actions/checkout@v4 + uses: actions/checkout@v6 - name: setup python - uses: actions/setup-python@v5 + uses: actions/setup-python@v6 with: python-version: '3.8' - name: install dependencies @@ -49,7 +49,7 @@ jobs: spellcheck: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v6 - name: Spellcheck uses: rojopolis/spellcheck-github-actions@v0 with: diff --git a/.github/workflows/release-drafter.yml b/.github/workflows/release-drafter.yml index 752c1db1c..063d18cc4 100644 --- a/.github/workflows/release-drafter.yml +++ b/.github/workflows/release-drafter.yml @@ -11,9 +11,8 @@ jobs: runs-on: ubuntu-latest steps: # Drafts your next Release notes as Pull Requests are merged into "master" - - uses: release-drafter/release-drafter@v6 + - uses: release-drafter/release-drafter@v7 with: # (Optional) specify config name to use, relative to .github/. Default: release-drafter.yml - config-name: release-drafter-config.yml - env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + config-name: release-drafter-config.yml + token: ${{ secrets.GITHUB_TOKEN }} diff --git a/.github/workflows/task-backport_pr.yml b/.github/workflows/task-backport_pr.yml index 01c1ee587..3a4e4f624 100644 --- a/.github/workflows/task-backport_pr.yml +++ b/.github/workflows/task-backport_pr.yml @@ -28,10 +28,10 @@ jobs: startsWith(github.event.comment.body, '/backport') ) steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v6 - name: Create backport pull requests id: backport - uses: korthout/backport-action@v2 + uses: korthout/backport-action@v4 with: pull_title: '[${target_branch}] ${pull_title}' merge_commits: 'skip' diff --git a/.github/workflows/task-unit-test.yml b/.github/workflows/task-unit-test.yml index b2a011e0e..ed3dffe7f 100644 --- a/.github/workflows/task-unit-test.yml +++ b/.github/workflows/task-unit-test.yml @@ -33,7 +33,7 @@ jobs: shell: sh -l -eo pipefail {0} run: ${{ inputs.pre-checkout-script }} - name: checkout - uses: actions/checkout@v4 + uses: actions/checkout@v6 with: ref: ${{ github.event.number && format('refs/pull/{0}/merge', github.event.number) || github.head_ref }} - name: install dependencies @@ -57,7 +57,7 @@ jobs: echo "path=bin/${FULL_VARIANT}/unit_tests/Testing/Temporary/" >> $GITHUB_OUTPUT - name: Archive san tests reports if: ${{ inputs.san == 'address' && failure() }} - uses: actions/upload-artifact@v4 + uses: actions/upload-artifact@v7 with: name: san tests reports on ${{ steps.artifact-name.outputs.name }} path: ${{ steps.tests-artifact-path.outputs.path }}