Skip to content

Day 9 puzzle 1

Day 9 puzzle 1 #22

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