feat(2023/day01): add part2 #69
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Rust | |
on: | |
push: | |
branches: [ main ] | |
pull_request: | |
branches: [ main ] | |
env: | |
CARGO_TERM_COLOR: always | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Build | |
run: set -e; for day in 20*/day*; do if [ -f "$day/Cargo.toml" ]; then cargo build --manifest-path $day/Cargo.toml --verbose; fi; done | |
- name: Run tests | |
run: set -e; for day in 20*/day*; do if [ -f "$day/Cargo.toml" ]; then cargo test --manifest-path $day/Cargo.toml --verbose; fi; done |