-
Notifications
You must be signed in to change notification settings - Fork 7
42 lines (38 loc) · 974 Bytes
/
ci_check_minimal.yml
File metadata and controls
42 lines (38 loc) · 974 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
name: Check (Minimal Versions)
on:
push:
branches:
- master
paths:
- "Cargo.toml"
- "**/*.rs"
- ".github/workflows/ci_check_minimal.yml"
pull_request:
branches:
- master
paths:
- "Cargo.toml"
- "**/*.rs"
- ".github/workflows/ci_check_minimal.yml"
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}-${{ github.event_name }}
cancel-in-progress: true
env:
RUST_BACKTRACE: 1
jobs:
check:
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v4
- name: Setup Rust Toolchain
run: |
rustup default nightly
rustup component add clippy
- uses: taiki-e/install-action@cargo-no-dev-deps
- name: Check clippy
shell: bash
run: |
cargo no-dev-deps -Zminimal-versions clippy --all-features --lib
- name: Check Docs
run: |
cargo no-dev-deps -Zminimal-versions doc --all-features --no-deps