Skip to content

Commit

Permalink
Change CI to use local version of Rust
Browse files Browse the repository at this point in the history
How do people manage this?
  • Loading branch information
backspace committed Oct 14, 2023
1 parent 0a75b3c commit 212ba34
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/ci-unmnemonic-devices-vrs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand All @@ -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
Expand All @@ -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
Expand Down

0 comments on commit 212ba34

Please sign in to comment.