mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-06-14 01:41:09 +00:00
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:
+1
-1
@@ -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 }}
|
||||||
|
|||||||
Vendored
+1
-1
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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 }}
|
||||||
|
|
||||||
|
|||||||
Vendored
+3
-4
@@ -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 }}
|
||||||
|
|||||||
Reference in New Issue
Block a user