Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
enddynayn committed Aug 1, 2024
1 parent 92f17de commit 3aa9a19
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 5 deletions.
16 changes: 13 additions & 3 deletions .github/workflows/verify-pr-commit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -193,11 +193,21 @@ jobs:
if: needs.changes.outputs.rust == 'true'
name: Verify Rust Code Format
runs-on: ubuntu-22.04
container: ghcr.io/frequency-chain/frequency/ci-base-image:1.3.1
container:
image: ghcr.io/frequency-chain/frequency/ci-base-image:1.3.1
steps:
- name: Check Out Repo
- name: Check Out Repository
uses: actions/checkout@v4
- name: Check
- name: Install Nightly Toolchain
run: |
rustup toolchain install nightly-2024-08-01
- name: Install Rust Target
run: |
rustup target add wasm32-unknown-unknown --toolchain nightly-2024-08-01
- name: Install Rust Source Component
run: |
rustup component add rust-src --toolchain nightly-2024-08-01
- name: Verify Rust Code Formatting
run: |
cargo +nightly-2024-08-01 fmt --check
Expand Down
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -81,11 +81,11 @@ specs-paseo-local:

.PHONY: format
format:
cargo +nightly-2024-03-01 fmt
cargo +nightly-2024-08-01 fmt

.PHONY: lint lint-audit
lint:
cargo +nightly-2024-03-01 fmt --check
cargo +nightly-2024-08-01 fmt --check
SKIP_WASM_BUILD=1 env -u RUSTFLAGS cargo clippy --features runtime-benchmarks,frequency-lint-check -- -D warnings
RUSTC_BOOTSTRAP=1 RUSTDOCFLAGS="--enable-index-page --check -Zunstable-options" cargo doc --no-deps --features frequency

Expand Down

0 comments on commit 3aa9a19

Please sign in to comment.