From 212ba34624539311198444c95dda9b75b05aac60 Mon Sep 17 00:00:00 2001 From: Buck Doyle Date: Sat, 14 Oct 2023 13:07:30 -0500 Subject: [PATCH] Change CI to use local version of Rust How do people manage this? --- .github/workflows/ci-unmnemonic-devices-vrs.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/ci-unmnemonic-devices-vrs.yml b/.github/workflows/ci-unmnemonic-devices-vrs.yml index a075813d..1b872813 100644 --- a/.github/workflows/ci-unmnemonic-devices-vrs.yml +++ b/.github/workflows/ci-unmnemonic-devices-vrs.yml @@ -21,7 +21,7 @@ jobs: - uses: actions/checkout@v3 - name: Set up database run: psql -f unmnemonic_devices_vrs/tests/api/fixtures/schema.sql postgres://postgres:postgres@localhost:5432/postgres - - uses: dtolnay/rust-toolchain@stable + - uses: dtolnay/rust-toolchain@1.68.2 - uses: Swatinem/rust-cache@v2 - name: Run tests working-directory: unmnemonic_devices_vrs @@ -34,7 +34,7 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v3 - - uses: dtolnay/rust-toolchain@stable + - uses: dtolnay/rust-toolchain@1.68.2 with: components: rustfmt - name: Enforce formatting @@ -54,7 +54,7 @@ jobs: - uses: actions/checkout@v3 - name: Set up database run: psql -f unmnemonic_devices_vrs/tests/api/fixtures/schema.sql postgres://postgres:postgres@localhost:5432/postgres - - uses: dtolnay/rust-toolchain@stable + - uses: dtolnay/rust-toolchain@1.68.2 with: components: clippy - uses: Swatinem/rust-cache@v2 @@ -80,7 +80,7 @@ jobs: uses: actions/checkout@v3 - name: Set up database run: psql -f unmnemonic_devices_vrs/tests/api/fixtures/schema.sql postgres://postgres:postgres@localhost:5432/postgres - - uses: dtolnay/rust-toolchain@stable + - uses: dtolnay/rust-toolchain@1.68.2 - name: Install postgresql-client run: sudo apt-get update && sudo apt-get install postgresql-client -y - uses: Swatinem/rust-cache@v2