CI deps ugrade (#1237)

* Switch to actions/checkout v3

* Upgrade subwasm version

* Bump srtool-actions to v0.4

* Remove srtool runs from master
This commit is contained in:
Chevdor
2022-05-06 09:24:55 +02:00
committed by GitHub
parent 46e20f3cc2
commit db0f2cd32c
9 changed files with 12 additions and 13 deletions
+1 -1
View File
@@ -9,7 +9,7 @@ jobs:
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- name: Checkout sources - name: Checkout sources
uses: actions/checkout@v2 uses: actions/checkout@v3
with: with:
fetch-depth: 0 fetch-depth: 0
ref: ${{ github.event.pull_request.head.ref }} ref: ${{ github.event.pull_request.head.ref }}
+1 -1
View File
@@ -12,7 +12,7 @@ jobs:
steps: steps:
- name: Checkout repository - name: Checkout repository
uses: actions/checkout@v2.3.4 uses: actions/checkout@v3
- name: Rust versions - name: Rust versions
run: rustup show run: rustup show
@@ -27,7 +27,7 @@ jobs:
REF_URL: ${{github.event.inputs.reference_url}} REF_URL: ${{github.event.inputs.reference_url}}
steps: steps:
- uses: actions/checkout@v2 - uses: actions/checkout@v3
- name: Fetch binary - name: Fetch binary
run: | run: |
+1 -1
View File
@@ -31,7 +31,7 @@ jobs:
target target
key: ${{ runner.os }}-${{ matrix.os }}-cargo-${{ hashFiles('**/Cargo.lock') }} key: ${{ runner.os }}-${{ matrix.os }}-cargo-${{ hashFiles('**/Cargo.lock') }}
- uses: actions/checkout@v2 - uses: actions/checkout@v3
- name: Cargo fmt - name: Cargo fmt
uses: actions-rs/cargo@v1 uses: actions-rs/cargo@v1
+2 -2
View File
@@ -4,13 +4,13 @@ on:
branches: branches:
- release-**v[0-9]+.[0-9]+.[0-9]+ - release-**v[0-9]+.[0-9]+.[0-9]+
workflow_dispatch: workflow_dispatch:
jobs: jobs:
tag_rc: tag_rc:
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- name: Checkout sources - name: Checkout sources
uses: actions/checkout@v2 uses: actions/checkout@v3
with: with:
fetch-depth: 0 fetch-depth: 0
- id: compute_tag - id: compute_tag
+1 -1
View File
@@ -63,7 +63,7 @@ jobs:
- name: Build ${{ matrix.runtime }} runtime - name: Build ${{ matrix.runtime }} runtime
if: ${{ github.event.inputs.release_type != 'client' }} if: ${{ github.event.inputs.release_type != 'client' }}
id: srtool_build id: srtool_build
uses: chevdor/srtool-actions@v0.3.0 uses: chevdor/srtool-actions@v0.4.0
with: with:
image: paritytech/srtool image: paritytech/srtool
chain: ${{ matrix.runtime }} chain: ${{ matrix.runtime }}
+1 -1
View File
@@ -23,7 +23,7 @@ jobs:
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- name: Checkout sources - name: Checkout sources
uses: actions/checkout@v2 uses: actions/checkout@v3
with: with:
ref: ${{ github.event.release.tag_name }} ref: ${{ github.event.release.tag_name }}
+1 -1
View File
@@ -18,7 +18,7 @@ jobs:
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- name: Checkout sources - name: Checkout sources
uses: actions/checkout@v2 uses: actions/checkout@v3
with: with:
ref: ${{ github.event.release.tag_name }} ref: ${{ github.event.release.tag_name }}
+3 -4
View File
@@ -1,7 +1,7 @@
name: Srtool build name: Srtool build
env: env:
SUBWASM_VERSION: 0.15.0 SUBWASM_VERSION: 0.17.0
on: on:
push: push:
@@ -16,7 +16,6 @@ on:
branches: branches:
- "release*" - "release*"
- "master"
schedule: schedule:
- cron: "00 02 * * 1" # 2AM weekly on monday - cron: "00 02 * * 1" # 2AM weekly on monday
@@ -30,13 +29,13 @@ jobs:
matrix: matrix:
chain: ["statemine", "westmint", "statemint", "rococo-parachain", "shell", "canvas-kusama"] chain: ["statemine", "westmint", "statemint", "rococo-parachain", "shell", "canvas-kusama"]
steps: steps:
- uses: actions/checkout@v2 - uses: actions/checkout@v3
with: with:
fetch-depth: 0 fetch-depth: 0
- name: Srtool build - name: Srtool build
id: srtool_build id: srtool_build
uses: chevdor/srtool-actions@v0.3.0 uses: chevdor/srtool-actions@v0.4.0
with: with:
chain: ${{ matrix.chain }} chain: ${{ matrix.chain }}
runtime_dir: polkadot-parachains/${{ matrix.chain }} runtime_dir: polkadot-parachains/${{ matrix.chain }}