Skip to content

Commit 1944043

Browse files
committed
Simplify MSRV jobs
1 parent 48ca2b0 commit 1944043

File tree

2 files changed

+5
-13
lines changed

2 files changed

+5
-13
lines changed

.github/workflows/ci.yml

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -28,9 +28,7 @@ jobs:
2828
override: true
2929
- name: Checkout
3030
uses: actions/checkout@v3
31-
- name: Copy MSRV Lock
32-
run: make msrv-lock
33-
- name: Build
31+
- name: Check
3432
env:
3533
CARGO_BUILD_TARGET: ${{ matrix.target }}
3634
run: make check
@@ -136,8 +134,6 @@ jobs:
136134
curl -LO https://github.com/bytecodealliance/wasmtime/releases/download/v4.0.0/wasmtime-v4.0.0-x86_64-linux.tar.xz
137135
tar xvf wasmtime-v4.0.0-x86_64-linux.tar.xz
138136
echo `pwd`/wasmtime-v4.0.0-x86_64-linux >> $GITHUB_PATH
139-
- name: Copy MSRV Lock
140-
run: make msrv-lock
141137
- name: Test
142138
env:
143139
CARGO_BUILD_TARGET: ${{ matrix.target }}

Makefile

Lines changed: 4 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
all: test
22

33
check:
4-
@cargo check --all-features
4+
@cargo check --lib --all-features
55

66
build:
77
@cargo build --all-features
@@ -17,9 +17,9 @@ test:
1717

1818
check-minver:
1919
@echo "MINVER CHECK"
20-
@cargo minimal-versions check
21-
@cargo minimal-versions check --all-features
22-
@cargo minimal-versions check --no-default-features
20+
@cargo minimal-versions check --lib
21+
@cargo minimal-versions check --lib --all-features
22+
@cargo minimal-versions check --lib --no-default-features
2323

2424
format:
2525
@rustup component add rustfmt 2> /dev/null
@@ -33,8 +33,4 @@ lint:
3333
@rustup component add clippy 2> /dev/null
3434
@cargo clippy --examples --tests
3535

36-
msrv-lock:
37-
@cargo update -p proptest --precise=1.0.0
38-
@cargo update -p byteorder --precise=1.4.0
39-
4036
.PHONY: all doc build check test format format-check lint check-minver msrv-lock

0 commit comments

Comments
 (0)