mc-chat-export/.forgejo/workflows/rust.yml
aria a0d030d26e
All checks were successful
/ lint-n-test (push) Successful in 1m3s
ci(rust): continue testing on fmt or clippy error
2025-07-11 22:27:56 +10:00

18 lines
588 B
YAML

on: [push, workflow_dispatch]
jobs:
lint-n-test:
# Run on the 9950x that Aria has access to :3
runs-on: azuki-new
container:
image: rust
steps:
# nodejs is required for the checkout action
- run: curl -sL https://deb.nodesource.com/setup_20.x | bash - && apt-get install -y nodejs
- uses: actions/checkout@v4
- run: rustup component add rustfmt clippy
- run: cargo fmt -- --check
continue-on-error: true
- run: cargo clippy -- -D warnings
continue-on-error: true
- run: cargo check
- run: cargo test