From 4785d71e0ca1ab665c09930f5e37c23858c1a50e Mon Sep 17 00:00:00 2001 From: Bert Peters Date: Sun, 26 Nov 2023 14:46:37 +0100 Subject: [PATCH] Update CI for 2023 No clippy warnings right now because everything is unsed anyway --- .github/workflows/2022.yml | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/.github/workflows/2022.yml b/.github/workflows/2022.yml index 0fc90a3..1ad8e76 100644 --- a/.github/workflows/2022.yml +++ b/.github/workflows/2022.yml @@ -1,7 +1,7 @@ on: - push -name: Advent of Code 2022 +name: Advent of Code 2023 jobs: ci: @@ -20,33 +20,33 @@ jobs: continue-on-error: ${{ matrix.experimental }} steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Install toolchain - uses: actions-rs/toolchain@v1 + uses: dtolnay/rust-toolchain@v1 with: profile: minimal toolchain: ${{ matrix.toolchain }} override: true - components: rustfmt, clippy + components: rustfmt - name: Set up caching uses: Swatinem/rust-cache@v2 with: workspaces: > - 2022 -> target + 2023 -> target - name: Build binaries - working-directory: 2022 + working-directory: 2023 run: > cargo build --all-targets - name: Run tests - working-directory: 2022 + working-directory: 2023 run: > cargo test - - name: Run clippy - working-directory: 2022 + - name: Check formatting + working-directory: 2023 run: > - cargo clippy -- --deny warnings + cargo fmt --check