Maybe fix Rust action setup?
Some checks failed
CI / Formatting (push) Failing after 39s
CI / Clippy (push) Failing after 37s
CI / Check (push) Failing after 36s
CI / Build (push) Failing after 38s
CI / Test Rust (push) Failing after 38s

This commit is contained in:
Michael Bradley 2025-02-23 03:13:04 -05:00
parent 1e212fc077
commit 032aa3540b
Signed by: MichaelBradley
SSH key fingerprint: SHA256:cj/YZ5VT+QOKncqSkx+ibKTIn0Obg7OIzwzl9BL8EO8

View file

@ -13,6 +13,7 @@ jobs:
- name: Set up Rust
uses: https://github.com/actions-rust-lang/setup-rust-toolchain@v1
with:
toolchain: stable
components: rustfmt
- name: Check Rust formatting
run: cargo fmt --all -- --check
@ -26,6 +27,7 @@ jobs:
- name: Set up Rust
uses: https://github.com/actions-rust-lang/setup-rust-toolchain@v1
with:
toolchain: stable
components: clippy
- name: Run Clippy
run: cargo clippy -- -D warnings
@ -38,6 +40,8 @@ jobs:
uses: actions/checkout@v4
- name: Set up Rust
uses: https://github.com/actions-rust-lang/setup-rust-toolchain@v1
with:
toolchain: stable
- name: Check for Rust compilation errors
run: cargo check
@ -49,6 +53,8 @@ jobs:
uses: actions/checkout@v4
- name: Set up Rust
uses: https://github.com/actions-rust-lang/setup-rust-toolchain@v1
with:
toolchain: stable
- name: Set up Python toolchain
uses: actions/setup-python@v5
with:
@ -66,5 +72,7 @@ jobs:
uses: actions/checkout@v4
- name: Set up Rust
uses: https://github.com/actions-rust-lang/setup-rust-toolchain@v1
with:
toolchain: stable
- name: Run Rust tests
run: cargo test