mc-chat-export/.forgejo/workflows/rust.yml
aria 5c83c599f0
Some checks failed
/ lint-n-test (push) Failing after 2m25s
ci(rust): cache cargo build files
2025-07-11 22:41:14 +10:00

19 lines
653 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
- uses: https://github.com/Leafwing-Studios/cargo-cache@v2
- run: cargo fmt -- --check
continue-on-error: true
- run: cargo clippy -- -D warnings
continue-on-error: true
- run: cargo check
- run: cargo test