adding new workflow #1652
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Cargo Check | |
on: | |
pull_request: | |
branches: | |
- 'master' | |
- 'develop' | |
- 'release*' | |
push: | |
branches: | |
- 'master' | |
- 'develop' | |
- 'release*' | |
jobs: | |
checker: | |
concurrency: | |
group: lint-${{ github.ref }} | |
cancel-in-progress: true | |
container: | |
image: paritytech/ci-unified:bullseye-1.74.0-v20240109 | |
runs-on: | |
- self-hosted | |
- x64-tiny | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Rustup show | |
run: | | |
rustup show | |
- name: Install Protoc | |
uses: arduino/setup-protoc@v1 | |
with: | |
version: '3.x' | |
- name: check workspace | |
run: | | |
rustup target add wasm32-unknown-unknown | |
rustup +nightly target add wasm32-unknown-unknown | |
cargo check --workspace --locked | |
- name: check no_std | |
run: ./scripts/no_std_checks.sh | |
- name: pallet-ibc check benchmarks | |
run: cargo test -p pallet-ibc --release --locked --features=runtime-benchmarks |