mc-chat-export/.forgejo/workflows/rust.yml
aria fafa4d9ad7
Some checks are pending
/ lint-n-test (push) Waiting to run
ci(rust): allow manual running
2025-07-11 22:15:22 +10:00

16 lines
No EOL
523 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
- run: cargo clippy -- -D warnings
- run: cargo check
- run: cargo test