From 6eb96584507e5092ef8bb9fd0977e1587ec28fc2 Mon Sep 17 00:00:00 2001 From: Alex Hunt Date: Thu, 15 Feb 2024 12:16:13 -0800 Subject: [PATCH] explicitly use rust 1.74.0 in github actions --- .github/workflows/pr.yml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/.github/workflows/pr.yml b/.github/workflows/pr.yml index 116e767..6fff6a1 100644 --- a/.github/workflows/pr.yml +++ b/.github/workflows/pr.yml @@ -12,24 +12,28 @@ jobs: - uses: actions/checkout@v2 - uses: actions-rs/toolchain@v1 with: - toolchain: stable + toolchain: 1.74.0 components: rustfmt, clippy - uses: Swatinem/rust-cache@v1.3.0 - uses: actions-rs/cargo@v1 with: command: fmt + toolchain: 1.74.0 args: -- --check - uses: actions-rs/cargo@v1 with: command: clippy + toolchain: 1.74.0 args: -- --deny warnings - uses: actions-rs/cargo@v1 with: command: install + toolchain: 1.74.0 args: --locked cargo-deny - uses: actions-rs/cargo@v1 with: command: deny + toolchain: 1.74.0 args: check test: runs-on: ubuntu-20.04