Skip to content

Commit

Permalink
update checkout action version
Browse files Browse the repository at this point in the history
  • Loading branch information
noandrea committed Mar 4, 2024
1 parent c8d1885 commit 34d3f08
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 8 deletions.
11 changes: 5 additions & 6 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,15 +5,14 @@ on:
types: [opened, edited, synchronize]

jobs:

list-spec-versions:
if: github.event.pull_request.draft == false
runs-on: ubuntu-latest
outputs:
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
Expand All @@ -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
Expand All @@ -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
Expand All @@ -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
Expand All @@ -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 }}
3 changes: 1 addition & 2 deletions .github/workflows/create-tracing-runtime.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}
Expand Down

0 comments on commit 34d3f08

Please sign in to comment.