diff --git a/.github/workflows/bench.yml b/.github/workflows/bench.yml index cd9eb3eb3b..508a867d67 100644 --- a/.github/workflows/bench.yml +++ b/.github/workflows/bench.yml @@ -20,7 +20,7 @@ jobs: outputs: needs-bench: ${{ steps.version-check.outputs.needs_bench }} steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 with: fetch-depth: 0 @@ -34,7 +34,7 @@ jobs: needs: check-if-needed if: needs.check-if-needed.outputs.needs-bench == 1 steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Inspect benchmark CI config run: | @@ -89,7 +89,7 @@ jobs: resource_group: ${{ steps.get-env.outputs.resource_group }} steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Install azure-cli run: | @@ -155,7 +155,7 @@ jobs: needs: - deploy-github-runner steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 with: fetch-depth: 10 repository: ${{ github.event.pull_request.head.repo.full_name }} @@ -245,7 +245,7 @@ jobs: if: ${{ always() && needs.deploy-github-runner.result != 'skipped' }} steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Evaluate env vars id: get-env diff --git a/.github/workflows/check-runtime-changes.yml b/.github/workflows/check-runtime-changes.yml index 797fd386a7..0e9c186fe0 100644 --- a/.github/workflows/check-runtime-changes.yml +++ b/.github/workflows/check-runtime-changes.yml @@ -11,7 +11,7 @@ jobs: check-version: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 with: fetch-depth: 0 @@ -22,7 +22,7 @@ jobs: danger-will-brick-the-blockchain: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 with: fetch-depth: 0 diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 95b1d95afc..a18a32e02c 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -18,7 +18,7 @@ jobs: docker-build: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Build docker image run: | @@ -69,7 +69,7 @@ jobs: sanity-tests: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Check for parity between extrinsics, benchmarks and weights run: | @@ -89,7 +89,7 @@ jobs: sanity-test-cli: runs-on: ubuntu-22.04 steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Install Node.js uses: actions/setup-node@v3 @@ -111,7 +111,7 @@ jobs: name: cargo audit runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Set-Up run: | @@ -155,7 +155,7 @@ jobs: name: Rustfmt runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Configure rustc version run: | @@ -180,7 +180,7 @@ jobs: name: Clippy runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Set-Up run: | @@ -215,7 +215,7 @@ jobs: # Steps represent a sequence of tasks that will be executed as part of the job steps: # Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Set-Up run: | @@ -247,7 +247,7 @@ jobs: unit-test-creditcoin: runs-on: macos-12 steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Set-Up env: @@ -301,7 +301,7 @@ jobs: unit-test-cli: runs-on: ubuntu-22.04 steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Install Node.js uses: actions/setup-node@v3 @@ -327,7 +327,7 @@ jobs: build-creditcoin-node: runs-on: ubuntu-22.04 steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Set-Up run: | @@ -371,7 +371,7 @@ jobs: - build-creditcoin-node runs-on: ubuntu-22.04 steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Start local Ethereum node run: | @@ -559,7 +559,7 @@ jobs: # checkov:skip=CKV2_GHA_1:We need this for creditcoin-js typedefs auto-commit permissions: write-all steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 with: fetch-depth: 10 repository: ${{ github.event.pull_request.head.repo.full_name }} @@ -662,7 +662,7 @@ jobs: [creditcoin-js, integration-tests, scripts/js, scripts/cc-cli] steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Install Node.js uses: actions/setup-node@v3 @@ -688,7 +688,7 @@ jobs: [creditcoin-js, integration-tests, scripts/js, scripts/cc-cli] steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Install Node.js uses: actions/setup-node@v3 @@ -714,7 +714,7 @@ jobs: [creditcoin-js, integration-tests, scripts/js, scripts/cc-cli] steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Install Node.js uses: actions/setup-node@v3 @@ -739,7 +739,7 @@ jobs: benchmark: runs-on: ubuntu-22.04 steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Inspect benchmark CI config run: | @@ -802,7 +802,7 @@ jobs: name: "🐚 Shellcheck" runs-on: ubuntu-22.04 steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Run ShellCheck uses: ludeeus/action-shellcheck@2.0.0 env: diff --git a/.github/workflows/codeql.yml b/.github/workflows/codeql.yml index 982efd8107..e5a0b41572 100644 --- a/.github/workflows/codeql.yml +++ b/.github/workflows/codeql.yml @@ -38,7 +38,7 @@ jobs: steps: - name: Checkout repository - uses: actions/checkout@v3 + uses: actions/checkout@v4 # Initializes the CodeQL tools for scanning. - name: Initialize CodeQL diff --git a/.github/workflows/deploy-docs.yml b/.github/workflows/deploy-docs.yml index 74c77ec440..e0612b2c0a 100644 --- a/.github/workflows/deploy-docs.yml +++ b/.github/workflows/deploy-docs.yml @@ -14,7 +14,7 @@ jobs: # checkov:skip=CKV2_GHA_1:We need this for the git push command below permissions: write-all steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 with: fetch-depth: 0 - name: Install mdbook diff --git a/.github/workflows/extrinsics.yml b/.github/workflows/extrinsics.yml index d6b28b3f9c..de1ac3c34e 100644 --- a/.github/workflows/extrinsics.yml +++ b/.github/workflows/extrinsics.yml @@ -18,7 +18,7 @@ jobs: name: Extrinsics runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Install Node Dependencies uses: actions/setup-node@v3 with: diff --git a/.github/workflows/llvm-cov.yml b/.github/workflows/llvm-cov.yml index a3e17d3462..a41ddef6e5 100644 --- a/.github/workflows/llvm-cov.yml +++ b/.github/workflows/llvm-cov.yml @@ -13,7 +13,7 @@ jobs: permissions: pull-requests: write steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Set-Up run: | diff --git a/.github/workflows/mega-linter.yml b/.github/workflows/mega-linter.yml index 90fe138fb2..3b3992d4c7 100644 --- a/.github/workflows/mega-linter.yml +++ b/.github/workflows/mega-linter.yml @@ -26,7 +26,7 @@ jobs: steps: # Git Checkout - name: Checkout Code - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: token: ${{ secrets.PAT || secrets.GITHUB_TOKEN }} fetch-depth: 0 # If you use VALIDATE_ALL_CODEBASE = true, you can remove this line to improve performances diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 8242bdc9f5..815974b358 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -12,7 +12,7 @@ jobs: sanity-check: runs-on: ubuntu-22.04 steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 with: fetch-depth: 0 @@ -29,7 +29,7 @@ jobs: runs-on: ${{ matrix.operating-system }} steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 with: fetch-depth: 0 @@ -128,7 +128,7 @@ jobs: needs: sanity-check runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 with: fetch-depth: 0 @@ -168,7 +168,7 @@ jobs: needs: sanity-check runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 with: fetch-depth: 0 @@ -198,7 +198,7 @@ jobs: needs: sanity-check runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 with: fetch-depth: 0 @@ -241,7 +241,7 @@ jobs: - build-wasm-runtime - build-creditcoin-js steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 with: fetch-depth: 0 diff --git a/.github/workflows/runtime-upgrade.yml b/.github/workflows/runtime-upgrade.yml index 9689a4bd8b..aa3b8cd8ad 100644 --- a/.github/workflows/runtime-upgrade.yml +++ b/.github/workflows/runtime-upgrade.yml @@ -27,7 +27,7 @@ jobs: last_block_number: ${{ steps.last-block-info.outputs.last_block_number }} steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Set-Up run: | @@ -101,7 +101,7 @@ jobs: runs-on: ubuntu-22.04 steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Set-Up run: | @@ -150,7 +150,7 @@ jobs: [self-hosted, "${{ needs.deploy-github-runner.outputs.runner_vm_name }}"] steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Download creditcoin-node for release ${{ needs.setup.outputs.release_tag }} uses: i3h/download-release-asset@v1 @@ -236,7 +236,7 @@ jobs: [self-hosted, "${{ needs.deploy-github-runner.outputs.runner_vm_name }}"] steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Download creditcoin-node for release ${{ needs.setup.outputs.release_tag }} uses: i3h/download-release-asset@v1 @@ -301,7 +301,7 @@ jobs: runs-on: [self-hosted, "${{ needs.deploy-github-runner.outputs.runner_vm_name }}"] steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Download creditcoin-node from current PR uses: actions/download-artifact@v3 @@ -416,7 +416,7 @@ jobs: runs-on: [self-hosted, "${{ needs.deploy-github-runner.outputs.runner_vm_name }}"] steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Download creditcoin-node from current PR uses: actions/download-artifact@v3 @@ -543,7 +543,7 @@ jobs: resource_group: ${{ steps.get-env.outputs.resource_group }} steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Install azure-cli run: | @@ -613,7 +613,7 @@ jobs: - setup - deploy-github-runner steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Download creditcoin-node binary from current PR uses: actions/download-artifact@v3 @@ -696,7 +696,7 @@ jobs: if: ${{ always() && needs.deploy-github-runner.result != 'skipped' }} steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Evaluate env vars id: get-env diff --git a/.github/workflows/runtime.yml b/.github/workflows/runtime.yml index 04d1bdcfea..f8d672bf11 100644 --- a/.github/workflows/runtime.yml +++ b/.github/workflows/runtime.yml @@ -14,7 +14,7 @@ jobs: build: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Srtool build id: srtool_build uses: chevdor/srtool-actions@v0.8.0 @@ -42,7 +42,7 @@ jobs: needs: build if: github.ref == 'refs/heads/dev' steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - uses: actions/download-artifact@v3 with: name: creditcoin-runtime-${{ github.sha }}