Skip to content

move GA workflow files to top-level #1

move GA workflow files to top-level

move GA workflow files to top-level #1

Workflow file for this run

name: Continuous Integration - Rust
on:
push:
branches: ["main"]
env:
CARGO_TERM_COLOR: always
jobs:
ci:
runs-on: ubuntu-latest
strategy:
matrix:
{
dir:
[
"./advents-of-code/2022/day-01",
"./advents-of-code/2022/day-02",
"./advents-of-code/2022/day-03",
"./advents-of-code/2022/day-04",
"./advents-of-code/2022/day-05",
"./advents-of-code/2022/day-06",
"./advents-of-code/2022/day-07",
"./advents-of-code/2022/day-08",
"./advents-of-code/2022/day-09",
"./advents-of-code/2022/day-10",
],
}
defaults:
run:
working-directory: ${{ matrix.dir }}
steps:
- uses: actions/checkout@v3
- name: Build
run: cargo build --verbose
- name: Run tests
run: cargo test --verbose