Convert 2021 CI to 2022

This commit is contained in:
2022-11-05 16:08:12 +01:00
parent 0635141ac6
commit cabae7b1fd

View File

@@ -1,7 +1,7 @@
on: on:
- push - push
name: Advent of Code 2021 name: Advent of Code 2022
jobs: jobs:
ci: ci:
@@ -20,7 +20,7 @@ jobs:
continue-on-error: ${{ matrix.experimental }} continue-on-error: ${{ matrix.experimental }}
steps: steps:
- uses: actions/checkout@v2 - uses: actions/checkout@v3
- name: Install toolchain - name: Install toolchain
uses: actions-rs/toolchain@v1 uses: actions-rs/toolchain@v1
@@ -31,16 +31,16 @@ jobs:
components: rustfmt, clippy components: rustfmt, clippy
- name: Build binaries - name: Build binaries
working-directory: 2021 working-directory: 2022
run: > run: >
cargo build --all-targets cargo build --all-targets
- name: Run tests - name: Run tests
working-directory: 2021 working-directory: 2022
run: > run: >
cargo test cargo test
- name: Run clippy - name: Run clippy
working-directory: 2021 working-directory: 2022
run: > run: >
cargo clippy -- --deny warnings cargo clippy -- --deny warnings