1
1
mirror of https://github.com/theoludwig/advent_of_code.git synced 2025-05-18 19:27:51 +02:00

test: add cases for input.txt

This commit is contained in:
2023-12-08 18:56:07 +01:00
parent 97c302d9e1
commit 755e211f3f
10 changed files with 61 additions and 56 deletions

View File

@ -1,24 +1,26 @@
name: "ci"
on:
push:
branches: ["main"]
pull_request:
branches: ["main"]
push:
branches: ["main"]
pull_request:
branches: ["main"]
env:
CARGO_TERM_COLOR: "always"
CARGO_TERM_COLOR: "always"
jobs:
ci:
runs-on: "ubuntu-latest"
ci:
runs-on: "ubuntu-latest"
steps:
- uses: "actions/checkout@v4"
steps:
- uses: "actions/checkout@v4"
- uses: "dtolnay/rust-toolchain@stable"
with:
components: "clippy, rustfmt"
- run: "rustc --version"
- run: "rustc --version"
- run: "cargo build --verbose"
- run: "cargo test --verbose"
- run: "cargo clippy --verbose -- -D warnings"
- run: "cargo fmt -- --check"
- run: "cargo build --verbose"
- run: "cargo test --verbose"
- run: "cargo clippy --verbose -- -D warnings"
- run: "cargo fmt -- --check"