ci: allow test failures, fix input getting script mistake
All checks were successful
test / AoC 2024 (push) Successful in 4m16s

This commit is contained in:
Keenan Tims 2024-12-15 01:05:57 -08:00
parent c261ee56fe
commit f2186d18d3
Signed by: ktims
GPG Key ID: 11230674D69038D4

View File

@ -41,19 +41,23 @@ jobs:
cargo aoc credentials ${{ secrets.AOC_SESSION }} cargo aoc credentials ${{ secrets.AOC_SESSION }}
for i in $(seq 1 25); do for i in $(seq 1 25); do
dayfmt=$(printf %02d $i) dayfmt=$(printf %02d $i)
if [${{ steps.date.outputs.date }} -ge 202412${dayfmt}]; then if [ ${{ steps.date.outputs.date }} -ge 202412${dayfmt} ]; then
cargo aoc input --year 2024 --day $i cargo aoc input --year 2024 --day $i
fi fi
done done
- name: cargo test - name: cargo test
run: cargo test --lib --all-features run: cargo test --lib
continue-on-error: true
- name: rustfmt - name: rustfmt
run: cargo fmt --all -- --check run: cargo fmt --all -- --check
continue-on-error: true
- name: clippy - name: clippy
run: cargo clippy --lib --all-features --tests -- -D warnings run: cargo clippy --lib --tests -- -D warnings
continue-on-error: true
- name: full run - name: full run
run: cargo run --release run: cargo run --release
continue-on-error: true