Skip to content

Bump rustix from 0.36.15 to 0.36.16 #7013

Bump rustix from 0.36.15 to 0.36.16

Bump rustix from 0.36.15 to 0.36.16 #7013

Workflow file for this run

# generate by yq eval 'explode(.)' test.yml.src > test.yml
# https://github.com/mikefarah/yq
name: Test
on:
pull_request:
branches:
- master
- release-**
paths-ignore:
- '**/README.md'
push:
branches:
- master
- release-**
paths-ignore:
- '**/README.md'
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
build:
runs-on: [self-hosted, linux]
env:
CARGO_INCREMENTAL: 0
steps:
- uses: actions/checkout@v3
with:
submodules: recursive
- uses: actions/cache@v3
with:
path: |
~/.cargo/bin/
~/.cargo/registry/index/
~/.cargo/registry/cache/
~/.cargo/git/db/
key: ${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.lock') }}
- name: Install toolchain
uses: dtolnay/rust-toolchain@nightly
with:
components: rustfmt
- name: Setup cmake
uses: jwlawson/[email protected]
- name: Check format
run: cargo +nightly fmt --all -- --check
- name: Build
run: make build-all
- name: Install clippy
run: rustup component add clippy
- name: Run mandala-runtime clippy
run: cargo clippy --features with-mandala-runtime -- -D warnings
- name: Run karura-runtime clippy
run: cargo clippy --features with-karura-runtime -- -D warnings
- name: Run acala-runtime clippy
run: cargo clippy --features with-acala-runtime -- -D warnings
- name: Run build benches
run: make build-benches
benchmarking:
runs-on: [self-hosted, linux]
env:
CARGO_INCREMENTAL: 0
steps:
- uses: actions/checkout@v3
with:
submodules: recursive
- uses: actions/cache@v3
with:
path: |
~/.cargo/bin/
~/.cargo/registry/index/
~/.cargo/registry/cache/
~/.cargo/git/db/
key: ${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.lock') }}
- name: Install toolchain
uses: dtolnay/rust-toolchain@nightly
- name: Install cargo-nextest
uses: taiki-e/install-action@nextest
- name: Setup cmake
uses: jwlawson/[email protected]
- name: Run benchmarking tests
run: make test-benchmarking
checks-and-tests:
runs-on: [self-hosted, linux]
env:
CARGO_INCREMENTAL: 0
steps:
- uses: actions/checkout@v3
with:
submodules: recursive
- uses: actions/cache@v3
with:
path: |
~/.cargo/bin/
~/.cargo/registry/index/
~/.cargo/registry/cache/
~/.cargo/git/db/
key: ${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.lock') }}
- name: Install toolchain
uses: dtolnay/rust-toolchain@nightly
- name: Install cargo-nextest
uses: taiki-e/install-action@nextest
- name: Setup cmake
uses: jwlawson/[email protected]
- name: Run runtime tests
run: make test-runtimes
- name: Run eth tests
run: make test-eth
- name: Check benchmarks
run: make check-benchmarks
- name: Check try-runtime
run: make check-try-runtime
- name: Check runtimes
run: make check-runtimes
e2e-tests:
runs-on: [self-hosted, linux]
env:
CARGO_INCREMENTAL: 0
steps:
- uses: actions/checkout@v3
with:
submodules: recursive
- uses: actions/cache@v3
with:
path: |
~/.cargo/bin/
~/.cargo/registry/index/
~/.cargo/registry/cache/
~/.cargo/git/db/
key: ${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.lock') }}
- name: Install toolchain
uses: dtolnay/rust-toolchain@nightly
- name: Setup cmake
uses: jwlawson/[email protected]
- name: Run e2e tests
run: make test-e2e
- name: Use Node.js
uses: actions/setup-node@v3
with:
node-version: 16.x
- name: Run ts tests
run: |
npm install -g yarn
make test-ts