🚸 Import ToAccountInfo trait in fuzzing prelude #263
Workflow file for this run
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
on: | |
workflow_dispatch: | |
pull_request: | |
push: | |
branches: [master] | |
name: Lint crates | |
jobs: | |
checks: | |
runs-on: ubuntu-20.04 | |
needs: | |
- explorer | |
- cli | |
- client | |
- test | |
steps: | |
- run: echo "Done" | |
explorer: | |
runs-on: ubuntu-20.04 | |
defaults: | |
run: | |
working-directory: crates/explorer | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: ./.github/actions/setup-rust/ | |
id: rust-setup | |
- uses: Swatinem/rust-cache@v2 | |
name: Cache Rust and it's packages | |
- name: Cargo build | |
run: cargo build | |
- name: Cargo fmt | |
run: cargo fmt -- --check | |
- name: Cargo clippy | |
run: cargo clippy -- -D warnings | |
- name: Cargo test | |
run: cargo test | |
cli: | |
runs-on: ubuntu-20.04 | |
defaults: | |
run: | |
working-directory: crates/cli | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: ./.github/actions/setup-rust/ | |
id: rust-setup | |
- uses: Swatinem/rust-cache@v2 | |
name: Cache Rust and it's packages | |
- name: Cargo build | |
run: cargo build | |
- name: Cargo fmt | |
run: cargo fmt -- --check | |
- name: Cargo clippy | |
run: cargo clippy -- -D warnings | |
- name: Cargo test | |
run: cargo test | |
client: | |
runs-on: ubuntu-20.04 | |
defaults: | |
run: | |
working-directory: crates/client | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: ./.github/actions/setup-rust/ | |
id: rust-setup | |
- uses: Swatinem/rust-cache@v2 | |
name: Cache Rust and it's packages | |
- name: Cargo build | |
run: cargo build | |
- name: Cargo fmt | |
run: cargo fmt -- --check | |
- name: Cargo clippy | |
run: cargo clippy -- -D warnings | |
- name: Cargo test | |
run: cargo test | |
test: | |
runs-on: ubuntu-20.04 | |
defaults: | |
run: | |
working-directory: crates/test | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: ./.github/actions/setup-rust/ | |
id: rust-setup | |
- uses: Swatinem/rust-cache@v2 | |
name: Cache Rust and it's packages | |
- name: Install cargo packages | |
run: cargo install cargo-expand | |
- name: Cargo build | |
run: cargo build | |
- name: Cargo fmt | |
run: cargo fmt -- --check | |
- name: Cargo clippy | |
run: cargo clippy -- -D warnings | |
- name: Cargo test | |
run: cargo test |