-
Notifications
You must be signed in to change notification settings - Fork 121
45 lines (41 loc) · 1.06 KB
/
ci_check_minimal.yml
File metadata and controls
45 lines (41 loc) · 1.06 KB
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
43
44
45
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: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-22.04, windows-latest, macos-latest]
steps:
- uses: actions/checkout@v6
- 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 --workspace --all-features --no-deps