Keenan Tims d6d81a0c29
Some checks failed
test / AoC 2024 (push) Failing after 1m22s
CI: run tests
2024-12-13 17:52:42 -08:00

31 lines
569 B
YAML

name: test
on:
push:
branches: [ main ]
env:
CARGO_TERM_COLOR: always
jobs:
tests:
name: AoC 2024
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: setup toolchain
uses: actions-rust-lang/setup-rust-toolchain@v1
with:
cache: true
components: clippy, rustfmt
toolchain: stable
- name: cargo test
run: cargo test --all-features
- name: rustfmt
run: cargo fmt --all -- --check
- name: clippy
run: cargo clippy --all --all-features --tests -- -D warnings