Skip to content

Commit b9204d3

Browse files
committed
Replace manual CI pins with lockfile
1 parent 1970641 commit b9204d3

File tree

2 files changed

+1334
-9
lines changed

2 files changed

+1334
-9
lines changed

.github/workflows/build.yml

Lines changed: 6 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -30,18 +30,15 @@ jobs:
3030
toolchain: ${{ matrix.toolchain }}
3131
override: true
3232
profile: minimal
33-
- name: Pin dependencies
34-
if: ${{ matrix.toolchain == '1.63.0' }}
35-
run: |
36-
cargo update -p tokio --precise "1.38.1" --verbose
37-
cargo update -p postgres-types --precise "0.2.6" --verbose
38-
cargo update -p parking_lot@0.12.4 --precise "0.12.3" --verbose
39-
cargo update -p parking_lot_core@0.9.11 --precise "0.9.10" --verbose
40-
cargo update -p lock_api --precise "0.4.12" --verbose
4133
- name: Build on Rust ${{ matrix.toolchain }}
4234
run: |
4335
cargo build --verbose --color always
4436
test:
37+
strategy:
38+
matrix:
39+
toolchain:
40+
- stable
41+
- 1.63.0
4542
runs-on: ubuntu-latest
4643
services:
4744
postgres:
@@ -61,7 +58,7 @@ jobs:
6158
- name: Install Rust ${{ matrix.toolchain }} toolchain
6259
uses: actions-rs/toolchain@v1
6360
with:
64-
toolchain: stable
61+
toolchain: ${{ matrix.toolchain }}
6562
override: true
6663
profile: minimal
6764
- name: Run tests

0 commit comments

Comments
 (0)