Skip to content

Commit 6792f79

Browse files
committed
add minimal-versions check
1 parent 7248131 commit 6792f79

File tree

1 file changed

+32
-1
lines changed

1 file changed

+32
-1
lines changed

.github/workflows/ci-master.yml

Lines changed: 32 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,7 @@ jobs:
124124
- name: Install Rust (nightly)
125125
uses: actions-rs/toolchain@v1
126126
with:
127-
toolchain: stable-x86_64-unknown-linux-gnu
127+
toolchain: nightly
128128
profile: minimal
129129
override: true
130130

@@ -143,3 +143,34 @@ jobs:
143143
if: github.ref == 'refs/heads/master'
144144
uses: codecov/codecov-action@v1
145145
with: { file: cobertura.xml }
146+
147+
minimal-versions:
148+
name: minimal versions
149+
runs-on: ubuntu-latest
150+
steps:
151+
- uses: actions/checkout@v2
152+
153+
- name: Install Rust (nightly)
154+
uses: actions-rs/toolchain@v1
155+
with:
156+
toolchain: nightly
157+
profile: minimal
158+
override: true
159+
160+
- name: Generate Cargo.lock
161+
uses: actions-rs/cargo@v1
162+
with: { command: generate-lockfile }
163+
- name: Cache Dependencies
164+
uses: Swatinem/[email protected]
165+
166+
- name: Install cargo-minimal-versions
167+
uses: actions-rs/cargo@v1
168+
with:
169+
command: install
170+
args: cargo-minimal-versions
171+
172+
- name: Check With Minimal Versions
173+
uses: actions-rs/cargo@v1
174+
with:
175+
command: minimal-versions
176+
args: check

0 commit comments

Comments
 (0)