From 49ac969b769166ae2b9615b014acda3b7cc3730a Mon Sep 17 00:00:00 2001 From: Georg Brandl Date: Fri, 9 Aug 2024 17:06:30 +0200 Subject: [PATCH] github: update workflow --- .github/workflows/main.yml | 19 ++++++++----------- 1 file changed, 8 insertions(+), 11 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index d912b09..ad59f6c 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -9,17 +9,14 @@ jobs: strategy: matrix: toolchain: - - 1.48.0 + - 1.63.0 - stable - nightly steps: - - name: Checkout the source code - uses: actions/checkout@master - - name: Install Rust - run: | - rustup toolchain update --no-self-update ${{ matrix.toolchain }} - rustup default ${{ matrix.toolchain }} - - name: Build - run: cargo build --all - - name: Test - run: cargo test --all + - uses: actions/checkout@v4 + - uses: actions-rust-lang/setup-rust-toolchain@v1 + with: + components: clippy + toolchain: ${{ matrix.toolchain }} + - run: cargo clippy + - run: cargo test --all