mirror of
https://github.com/pezkuwichain/revive-differential-tests.git
synced 2026-06-13 08:11:03 +00:00
Merge branch 'pg/fmt' into pg/ml-runner
This commit is contained in:
@@ -18,28 +18,9 @@ env:
|
|||||||
POLKADOT_VERSION: polkadot-stable2506-2
|
POLKADOT_VERSION: polkadot-stable2506-2
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
fmt:
|
|
||||||
runs-on: ubuntu-latest
|
|
||||||
steps:
|
|
||||||
- name: Checkout repo
|
|
||||||
uses: actions/checkout@v4
|
|
||||||
|
|
||||||
- name: Setup Rust toolchain
|
|
||||||
uses: actions-rust-lang/setup-rust-toolchain@v1
|
|
||||||
|
|
||||||
- name: Install nightly toolchain
|
|
||||||
run: rustup toolchain install nightly
|
|
||||||
|
|
||||||
- name: Install rustfmt for nightly
|
|
||||||
run: rustup component add --toolchain nightly rustfmt
|
|
||||||
|
|
||||||
- name: Cargo fmt
|
|
||||||
run: cargo +nightly fmt --all -- --check
|
|
||||||
|
|
||||||
cache-polkadot:
|
cache-polkadot:
|
||||||
name: Build and cache Polkadot binaries on ${{ matrix.os }}
|
name: Build and cache Polkadot binaries on ${{ matrix.os }}
|
||||||
runs-on: ${{ matrix.os }}
|
runs-on: ${{ matrix.os }}
|
||||||
needs: [fmt]
|
|
||||||
strategy:
|
strategy:
|
||||||
matrix:
|
matrix:
|
||||||
os: [ubuntu-24.04, macos-14]
|
os: [ubuntu-24.04, macos-14]
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
.PHONY: format clippy test machete
|
.PHONY: format clippy test machete
|
||||||
|
|
||||||
format:
|
format:
|
||||||
cargo fmt --all -- --check
|
cargo +nightly fmt --all -- --check
|
||||||
|
|
||||||
clippy:
|
clippy:
|
||||||
cargo clippy --all-features --workspace -- --deny warnings
|
cargo clippy --all-features --workspace -- --deny warnings
|
||||||
|
|||||||
Reference in New Issue
Block a user