Merge remote-tracking branch 'ci/main' into bump-ci
This commit is contained in:
commit
0da9d585fb
3 changed files with 15 additions and 47 deletions
25
.github/workflows/check.yml
vendored
25
.github/workflows/check.yml
vendored
|
|
@ -12,10 +12,8 @@ jobs:
|
|||
with:
|
||||
submodules: true
|
||||
- name: Install stable
|
||||
uses: actions-rs/toolchain@v1
|
||||
uses: dtolnay/rust-toolchain@stable
|
||||
with:
|
||||
profile: minimal
|
||||
toolchain: stable
|
||||
components: rustfmt
|
||||
- name: cargo fmt --check
|
||||
uses: actions-rs/cargo@v1
|
||||
|
|
@ -34,11 +32,9 @@ jobs:
|
|||
with:
|
||||
submodules: true
|
||||
- name: Install ${{ matrix.toolchain }}
|
||||
uses: actions-rs/toolchain@v1
|
||||
uses: dtolnay/rust-toolchain@master
|
||||
with:
|
||||
profile: minimal
|
||||
toolchain: ${{ matrix.toolchain }}
|
||||
default: true
|
||||
components: clippy
|
||||
- name: cargo clippy
|
||||
uses: actions-rs/clippy-check@v1
|
||||
|
|
@ -52,11 +48,7 @@ jobs:
|
|||
with:
|
||||
submodules: true
|
||||
- name: Install nightly
|
||||
uses: actions-rs/toolchain@v1
|
||||
with:
|
||||
profile: minimal
|
||||
toolchain: nightly
|
||||
default: true
|
||||
uses: dtolnay/rust-toolchain@nightly
|
||||
- name: cargo doc
|
||||
uses: actions-rs/cargo@v1
|
||||
with:
|
||||
|
|
@ -72,10 +64,7 @@ jobs:
|
|||
with:
|
||||
submodules: true
|
||||
- name: Install stable
|
||||
uses: actions-rs/toolchain@v1
|
||||
with:
|
||||
profile: minimal
|
||||
toolchain: stable
|
||||
uses: dtolnay/rust-toolchain@stable
|
||||
- name: cargo install cargo-hack
|
||||
uses: taiki-e/install-action@cargo-hack
|
||||
- name: cargo hack
|
||||
|
|
@ -95,12 +84,10 @@ jobs:
|
|||
- uses: actions/checkout@v3
|
||||
with:
|
||||
submodules: true
|
||||
- name: Install ${{ matrix.toolchain }}
|
||||
uses: actions-rs/toolchain@v1
|
||||
- name: Install ${{ matrix.msrv }}
|
||||
uses: dtolnay/rust-toolchain@master
|
||||
with:
|
||||
profile: minimal
|
||||
toolchain: ${{ matrix.msrv }}
|
||||
default: true
|
||||
- name: cargo +${{ matrix.msrv }} check
|
||||
uses: actions-rs/cargo@v1
|
||||
with:
|
||||
|
|
|
|||
12
.github/workflows/scheduled.yml
vendored
12
.github/workflows/scheduled.yml
vendored
|
|
@ -15,11 +15,7 @@ jobs:
|
|||
with:
|
||||
submodules: true
|
||||
- name: Install nightly
|
||||
uses: actions-rs/toolchain@v1
|
||||
with:
|
||||
profile: minimal
|
||||
toolchain: nightly
|
||||
default: true
|
||||
uses: dtolnay/rust-toolchain@nightly
|
||||
- name: cargo generate-lockfile
|
||||
if: hashFiles('Cargo.lock') == ''
|
||||
uses: actions-rs/cargo@v1
|
||||
|
|
@ -52,11 +48,7 @@ jobs:
|
|||
submodules: true
|
||||
- name: Install beta
|
||||
if: hashFiles('Cargo.lock') != ''
|
||||
uses: actions-rs/toolchain@v1
|
||||
with:
|
||||
profile: minimal
|
||||
toolchain: beta
|
||||
default: true
|
||||
uses: dtolnay/rust-toolchain@beta
|
||||
- name: cargo update
|
||||
if: hashFiles('Cargo.lock') != ''
|
||||
uses: actions-rs/cargo@v1
|
||||
|
|
|
|||
25
.github/workflows/test.yml
vendored
25
.github/workflows/test.yml
vendored
|
|
@ -15,11 +15,9 @@ jobs:
|
|||
with:
|
||||
submodules: true
|
||||
- name: Install ${{ matrix.toolchain }}
|
||||
uses: actions-rs/toolchain@v1
|
||||
uses: dtolnay/rust-toolchain@master
|
||||
with:
|
||||
profile: minimal
|
||||
toolchain: ${{ matrix.toolchain }}
|
||||
default: true
|
||||
- name: cargo generate-lockfile
|
||||
if: hashFiles('Cargo.lock') == ''
|
||||
uses: actions-rs/cargo@v1
|
||||
|
|
@ -86,15 +84,11 @@ jobs:
|
|||
with:
|
||||
submodules: true
|
||||
- name: Install stable
|
||||
uses: actions-rs/toolchain@v1
|
||||
with:
|
||||
profile: minimal
|
||||
toolchain: stable
|
||||
uses: dtolnay/rust-toolchain@stable
|
||||
- name: Install nightly for -Zminimal-versions
|
||||
uses: actions-rs/toolchain@v1
|
||||
with:
|
||||
profile: minimal
|
||||
toolchain: nightly
|
||||
uses: dtolnay/rust-toolchain@nightly
|
||||
- name: rustup default stable
|
||||
run: rustup default stable
|
||||
- name: cargo update -Zminimal-versions
|
||||
uses: actions-rs/cargo@v1
|
||||
with:
|
||||
|
|
@ -130,10 +124,7 @@ jobs:
|
|||
with:
|
||||
submodules: true
|
||||
- name: Install stable
|
||||
uses: actions-rs/toolchain@v1
|
||||
with:
|
||||
profile: minimal
|
||||
toolchain: stable
|
||||
uses: dtolnay/rust-toolchain@stable
|
||||
- name: cargo generate-lockfile
|
||||
if: hashFiles('Cargo.lock') == ''
|
||||
uses: actions-rs/cargo@v1
|
||||
|
|
@ -152,10 +143,8 @@ jobs:
|
|||
with:
|
||||
submodules: true
|
||||
- name: Install stable
|
||||
uses: actions-rs/toolchain@v1
|
||||
uses: dtolnay/rust-toolchain@stable
|
||||
with:
|
||||
profile: minimal
|
||||
toolchain: stable
|
||||
components: llvm-tools-preview
|
||||
- name: cargo install cargo-llvm-cov
|
||||
uses: taiki-e/install-action@cargo-llvm-cov
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue