From e2552c4b82ee53d67c16b4d617bb5edf65434427 Mon Sep 17 00:00:00 2001 From: Hendrik Sollich Date: Wed, 22 Nov 2023 18:49:13 +0100 Subject: [PATCH] ci: update actions --- .github/workflows/ci.yml | 16 +++++----------- 1 file changed, 5 insertions(+), 11 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index d05d97bbe..6e17d4c13 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -12,7 +12,7 @@ jobs: - stable - beta steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v4 - uses: actions-rs/toolchain@v1 with: profile: minimal @@ -25,14 +25,9 @@ jobs: name: Test Suite runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 - - uses: taiki-e/install-action@protoc - - uses: dtolnay/rust-toolchain@beta + - uses: actions/checkout@v4 + - uses: dtolnay/rust-toolchain@stable - uses: Swatinem/rust-cache@v2 - with: - profile: minimal - toolchain: stable - override: true - name: test run: cargo test --all-features @@ -40,12 +35,11 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v3 - - uses: taiki-e/install-action@protoc - - uses: dtolnay/rust-toolchain@beta + - uses: dtolnay/rust-toolchain@stable with: components: clippy, rustfmt - uses: Swatinem/rust-cache@v2 - name: Check run: cargo clippy --workspace --all-targets --all-features -- -D warnings - name: rustfmt - run: cargo fmt --all --check \ No newline at end of file + run: cargo fmt --all --check