Skip to content

chore: clean up incomplete days and tests and update GH CI command #39

chore: clean up incomplete days and tests and update GH CI command

chore: clean up incomplete days and tests and update GH CI command #39

Workflow file for this run

name: Cargo Build & Test
on:
push:
branches:
- "main"
pull_request:
branches:
- "main"
env:
CARGO_TERM_COLOR: always
jobs:
build_and_test:
name: Advent of Code 2023 - Tests
runs-on: ubuntu-latest
strategy:
matrix:
toolchain:
- stable
steps:
- uses: actions/checkout@v3
- run: rustup update ${{ matrix.toolchain }} && rustup default ${{ matrix.toolchain }}
- run: cargo build --verbose
- run: cargo test --verbose
install_and_run:
name: Advent of Code 2023 - Full Execution
runs-on: ubuntu-latest
strategy:
matrix:
toolchain:
- stable
steps:
- uses: actions/checkout@v3
- run: rustup update ${{ matrix.toolchain }} && rustup default ${{ matrix.toolchain }}
- run: cargo install --path .
- run: aoc-2023 --help
- run: aoc-2023 run --help
- run: aoc-2023 run