Skip to content

Commit

Permalink
CI deps ugrade (#1237)
Browse files Browse the repository at this point in the history
* Switch to actions/checkout v3

* Upgrade subwasm version

* Bump srtool-actions to v0.4

* Remove srtool runs from master
  • Loading branch information
WebWizrd8 committed May 6, 2022
1 parent a455fdf commit b0be557
Show file tree
Hide file tree
Showing 9 changed files with 12 additions and 13 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/check-labels.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout sources
uses: actions/checkout@v2
uses: actions/checkout@v3
with:
fetch-depth: 0
ref: ${{ github.event.pull_request.head.ref }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:

steps:
- name: Checkout repository
uses: actions/checkout@v2.3.4
uses: actions/checkout@v3

- name: Rust versions
run: rustup show
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/extrinsic-ordering-check-from-bin.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ jobs:
REF_URL: ${{github.event.inputs.reference_url}}

steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3

- name: Fetch binary
run: |
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/quick-check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ jobs:
target
key: ${{ runner.os }}-${{ matrix.os }}-cargo-${{ hashFiles('**/Cargo.lock') }}

- uses: actions/checkout@v2
- uses: actions/checkout@v3

- name: Cargo fmt
uses: actions-rs/cargo@v1
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/release-01_rc-automation.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,13 @@ on:
branches:
- release-**v[0-9]+.[0-9]+.[0-9]+
workflow_dispatch:

jobs:
tag_rc:
runs-on: ubuntu-latest
steps:
- name: Checkout sources
uses: actions/checkout@v2
uses: actions/checkout@v3
with:
fetch-depth: 0
- id: compute_tag
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release-02_create-draft.yml
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ jobs:
- name: Build ${{ matrix.runtime }} runtime
if: ${{ github.event.inputs.release_type != 'client' }}
id: srtool_build
uses: chevdor/srtool-actions@v0.3.0
uses: chevdor/srtool-actions@v0.4.0
with:
image: paritytech/srtool
chain: ${{ matrix.runtime }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release-10_docker-manual.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout sources
uses: actions/checkout@v2
uses: actions/checkout@v3
with:
ref: ${{ github.event.release.tag_name }}

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release-10_docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout sources
uses: actions/checkout@v2
uses: actions/checkout@v3
with:
ref: ${{ github.event.release.tag_name }}

Expand Down
7 changes: 3 additions & 4 deletions .github/workflows/srtool.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name: Srtool build

env:
SUBWASM_VERSION: 0.15.0
SUBWASM_VERSION: 0.17.0

on:
push:
Expand All @@ -16,7 +16,6 @@ on:

branches:
- "release*"
- "master"

schedule:
- cron: "00 02 * * 1" # 2AM weekly on monday
Expand All @@ -30,13 +29,13 @@ jobs:
matrix:
chain: ["statemine", "westmint", "statemint", "rococo-parachain", "shell", "canvas-kusama"]
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
with:
fetch-depth: 0

- name: Srtool build
id: srtool_build
uses: chevdor/srtool-actions@v0.3.0
uses: chevdor/srtool-actions@v0.4.0
with:
chain: ${{ matrix.chain }}
runtime_dir: polkadot-parachains/${{ matrix.chain }}
Expand Down

0 comments on commit b0be557

Please sign in to comment.