From 34d3f08dca4f4bd6b094bca73ca791ecc891dd01 Mon Sep 17 00:00:00 2001 From: Andrea Giacobino Date: Mon, 4 Mar 2024 23:12:26 +0100 Subject: [PATCH] update checkout action version --- .github/workflows/build.yml | 11 +++++------ .github/workflows/create-tracing-runtime.yml | 3 +-- 2 files changed, 6 insertions(+), 8 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 193949dd..c9ff33f4 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -5,7 +5,6 @@ on: types: [opened, edited, synchronize] jobs: - list-spec-versions: if: github.event.pull_request.draft == false runs-on: ubuntu-latest @@ -13,7 +12,7 @@ jobs: spec_versions: ${{ steps.list-versions.outputs.spec_versions }} steps: - name: Checkout - uses: actions/checkout@v2 + uses: actions/checkout@v4 with: ref: ${{ github.event.pull_request.head.sha }} - name: List spec versions @@ -37,7 +36,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout - uses: actions/checkout@v2 + uses: actions/checkout@v4 with: ref: ${{ github.event.pull_request.head.sha }} - name: Find un-copyrighted files @@ -55,7 +54,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout - uses: actions/checkout@v2 + uses: actions/checkout@v4 with: ref: ${{ github.event.pull_request.head.sha }} - name: Setup editorconfig checker @@ -80,7 +79,7 @@ jobs: spec_version: ${{ fromJson(needs.list-spec-versions.outputs.spec_versions) }} steps: - name: Checkout - uses: actions/checkout@v2 + uses: actions/checkout@v4 with: ref: ${{ github.event.pull_request.head.sha }} - uses: dorny/paths-filter@v2 @@ -98,6 +97,6 @@ jobs: # if: steps.filter.outputs.edited == 'true' || steps.filter.outputs.shared == 'true' # run: cd tracing/${{ matrix.spec_version }} && cargo test --release --all - name: "Check wasm blob" - if: steps.filter.outputs.edited == 'true' || steps.filter.outputs.shared == 'true' + if: steps.filter.outputs.edited == 'true' || steps.filter.outputs.shared == 'true' run: | ./scripts/check-tracing-runtime.sh ${{ matrix.spec_version }} diff --git a/.github/workflows/create-tracing-runtime.yml b/.github/workflows/create-tracing-runtime.yml index dc98a256..7d629208 100644 --- a/.github/workflows/create-tracing-runtime.yml +++ b/.github/workflows/create-tracing-runtime.yml @@ -11,11 +11,10 @@ on: required: false jobs: - create-tracing-runtime: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v4 - name: import runtime run: | ./scripts/import-tracing-runtime.sh ${{ github.event.inputs.spec_version }} ${{ github.event.inputs.moonbeam_git_ref }}