mirror of
https://github.com/pezkuwichain/pezframe-metadata.git
synced 2026-06-18 08:11:05 +00:00
pin gha versions and add dependabot (#41)
This commit is contained in:
committed by
GitHub
parent
d241ab9c1b
commit
b6683742f0
@@ -0,0 +1,6 @@
|
|||||||
|
version: 2
|
||||||
|
updates:
|
||||||
|
- package-ecosystem: github-actions
|
||||||
|
directory: '/'
|
||||||
|
schedule:
|
||||||
|
interval: daily
|
||||||
@@ -16,11 +16,11 @@ jobs:
|
|||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- name: Cancel Previous Runs
|
- name: Cancel Previous Runs
|
||||||
uses: styfle/cancel-workflow-action@0.4.1
|
uses: styfle/cancel-workflow-action@bb6001c4ea612bf59c3abfc4756fbceee4f870c7 # 0.10.0
|
||||||
with:
|
with:
|
||||||
access_token: ${{ github.token }}
|
access_token: ${{ github.token }}
|
||||||
- name: Checkout sources & submodules
|
- name: Checkout sources & submodules
|
||||||
uses: actions/checkout@master
|
uses: actions/checkout@v3
|
||||||
with:
|
with:
|
||||||
fetch-depth: 5
|
fetch-depth: 5
|
||||||
submodules: recursive
|
submodules: recursive
|
||||||
|
|||||||
@@ -18,18 +18,18 @@ jobs:
|
|||||||
RUST_BACKTRACE: full
|
RUST_BACKTRACE: full
|
||||||
steps:
|
steps:
|
||||||
- name: Cancel Previous Runs
|
- name: Cancel Previous Runs
|
||||||
uses: styfle/cancel-workflow-action@0.4.1
|
uses: styfle/cancel-workflow-action@bb6001c4ea612bf59c3abfc4756fbceee4f870c7 # 0.10.0
|
||||||
with:
|
with:
|
||||||
access_token: ${{ github.token }}
|
access_token: ${{ github.token }}
|
||||||
- name: Checkout sources & submodules
|
- name: Checkout sources & submodules
|
||||||
uses: actions/checkout@master
|
uses: actions/checkout@v3
|
||||||
with:
|
with:
|
||||||
fetch-depth: 5
|
fetch-depth: 5
|
||||||
submodules: recursive
|
submodules: recursive
|
||||||
- name: Add rustfmt
|
- name: Add rustfmt
|
||||||
run: rustup component add rustfmt
|
run: rustup component add rustfmt
|
||||||
- name: rust-fmt check
|
- name: rust-fmt check
|
||||||
uses: actions-rs/cargo@master
|
uses: actions-rs/cargo@v1
|
||||||
with:
|
with:
|
||||||
command: fmt
|
command: fmt
|
||||||
args: --all -- --check
|
args: --all -- --check
|
||||||
|
|||||||
+15
-15
@@ -18,17 +18,17 @@ jobs:
|
|||||||
RUST_BACKTRACE: full
|
RUST_BACKTRACE: full
|
||||||
steps:
|
steps:
|
||||||
- name: Cancel Previous Runs
|
- name: Cancel Previous Runs
|
||||||
uses: styfle/cancel-workflow-action@0.4.1
|
uses: styfle/cancel-workflow-action@bb6001c4ea612bf59c3abfc4756fbceee4f870c7 # 0.10.0
|
||||||
with:
|
with:
|
||||||
access_token: ${{ github.token }}
|
access_token: ${{ github.token }}
|
||||||
- name: Checkout sources & submodules
|
- name: Checkout sources & submodules
|
||||||
uses: actions/checkout@master
|
uses: actions/checkout@v3
|
||||||
with:
|
with:
|
||||||
fetch-depth: 5
|
fetch-depth: 5
|
||||||
submodules: recursive
|
submodules: recursive
|
||||||
## Check Stage
|
## Check Stage
|
||||||
- name: Checking rust-stable
|
- name: Checking rust-stable
|
||||||
uses: actions-rs/cargo@master
|
uses: actions-rs/cargo@v1
|
||||||
with:
|
with:
|
||||||
command: check
|
command: check
|
||||||
toolchain: stable
|
toolchain: stable
|
||||||
@@ -36,7 +36,7 @@ jobs:
|
|||||||
|
|
||||||
## Test Stage
|
## Test Stage
|
||||||
- name: Testing rust-stable
|
- name: Testing rust-stable
|
||||||
uses: actions-rs/cargo@master
|
uses: actions-rs/cargo@v1
|
||||||
with:
|
with:
|
||||||
command: test
|
command: test
|
||||||
toolchain: stable
|
toolchain: stable
|
||||||
@@ -44,7 +44,7 @@ jobs:
|
|||||||
|
|
||||||
## Build Stage
|
## Build Stage
|
||||||
- name: Building rust-stable
|
- name: Building rust-stable
|
||||||
uses: actions-rs/cargo@master
|
uses: actions-rs/cargo@v1
|
||||||
if: github.ref == 'refs/heads/master'
|
if: github.ref == 'refs/heads/master'
|
||||||
with:
|
with:
|
||||||
command: build
|
command: build
|
||||||
@@ -58,11 +58,11 @@ jobs:
|
|||||||
RUST_BACKTRACE: full
|
RUST_BACKTRACE: full
|
||||||
steps:
|
steps:
|
||||||
- name: Cancel Previous Runs
|
- name: Cancel Previous Runs
|
||||||
uses: styfle/cancel-workflow-action@0.4.1
|
uses: styfle/cancel-workflow-action@bb6001c4ea612bf59c3abfc4756fbceee4f870c7 # 0.10.0
|
||||||
with:
|
with:
|
||||||
access_token: ${{ github.token }}
|
access_token: ${{ github.token }}
|
||||||
- name: Checkout sources & submodules
|
- name: Checkout sources & submodules
|
||||||
uses: actions/checkout@master
|
uses: actions/checkout@v3
|
||||||
with:
|
with:
|
||||||
fetch-depth: 5
|
fetch-depth: 5
|
||||||
submodules: recursive
|
submodules: recursive
|
||||||
@@ -70,7 +70,7 @@ jobs:
|
|||||||
run: rustup target add wasm32-unknown-unknown --toolchain stable
|
run: rustup target add wasm32-unknown-unknown --toolchain stable
|
||||||
## Check Stage
|
## Check Stage
|
||||||
- name: Checking wasm32
|
- name: Checking wasm32
|
||||||
uses: actions-rs/cargo@master
|
uses: actions-rs/cargo@v1
|
||||||
with:
|
with:
|
||||||
command: check
|
command: check
|
||||||
toolchain: stable
|
toolchain: stable
|
||||||
@@ -83,41 +83,41 @@ jobs:
|
|||||||
RUST_BACKTRACE: full
|
RUST_BACKTRACE: full
|
||||||
steps:
|
steps:
|
||||||
- name: Cancel Previous Runs
|
- name: Cancel Previous Runs
|
||||||
uses: styfle/cancel-workflow-action@0.4.1
|
uses: styfle/cancel-workflow-action@bb6001c4ea612bf59c3abfc4756fbceee4f870c7 # 0.10.0
|
||||||
with:
|
with:
|
||||||
access_token: ${{ github.token }}
|
access_token: ${{ github.token }}
|
||||||
- name: Checkout sources & submodules
|
- name: Checkout sources & submodules
|
||||||
uses: actions/checkout@master
|
uses: actions/checkout@v3
|
||||||
with:
|
with:
|
||||||
fetch-depth: 5
|
fetch-depth: 5
|
||||||
submodules: recursive
|
submodules: recursive
|
||||||
## Check Stage
|
## Check Stage
|
||||||
- name: Checking without any features
|
- name: Checking without any features
|
||||||
uses: actions-rs/cargo@master
|
uses: actions-rs/cargo@v1
|
||||||
with:
|
with:
|
||||||
command: check
|
command: check
|
||||||
toolchain: stable
|
toolchain: stable
|
||||||
args: --manifest-path ./frame-metadata/Cargo.toml --no-default-features
|
args: --manifest-path ./frame-metadata/Cargo.toml --no-default-features
|
||||||
- name: Checking v12
|
- name: Checking v12
|
||||||
uses: actions-rs/cargo@master
|
uses: actions-rs/cargo@v1
|
||||||
with:
|
with:
|
||||||
command: check
|
command: check
|
||||||
toolchain: stable
|
toolchain: stable
|
||||||
args: --manifest-path ./frame-metadata/Cargo.toml --no-default-features --features v12
|
args: --manifest-path ./frame-metadata/Cargo.toml --no-default-features --features v12
|
||||||
- name: Checking v13
|
- name: Checking v13
|
||||||
uses: actions-rs/cargo@master
|
uses: actions-rs/cargo@v1
|
||||||
with:
|
with:
|
||||||
command: check
|
command: check
|
||||||
toolchain: stable
|
toolchain: stable
|
||||||
args: --manifest-path ./frame-metadata/Cargo.toml --no-default-features --features v13
|
args: --manifest-path ./frame-metadata/Cargo.toml --no-default-features --features v13
|
||||||
- name: Checking v14
|
- name: Checking v14
|
||||||
uses: actions-rs/cargo@master
|
uses: actions-rs/cargo@v1
|
||||||
with:
|
with:
|
||||||
command: check
|
command: check
|
||||||
toolchain: stable
|
toolchain: stable
|
||||||
args: --manifest-path ./frame-metadata/Cargo.toml --no-default-features --features v14
|
args: --manifest-path ./frame-metadata/Cargo.toml --no-default-features --features v14
|
||||||
- name: Checking all versions
|
- name: Checking all versions
|
||||||
uses: actions-rs/cargo@master
|
uses: actions-rs/cargo@v1
|
||||||
with:
|
with:
|
||||||
command: check
|
command: check
|
||||||
toolchain: stable
|
toolchain: stable
|
||||||
|
|||||||
Reference in New Issue
Block a user