chore(deps): bump codecov/codecov-action from 4.1.0 to 4.3.1 (#589) #2
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: CI | |
on: | |
pull_request: | |
types: [opened, synchronize, reopened] | |
merge_group: | |
types: [checks_requested] | |
push: | |
branches: [master] | |
permissions: | |
contents: read | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.ref }} | |
cancel-in-progress: true | |
jobs: | |
test: | |
strategy: | |
fail-fast: false | |
matrix: | |
# prettier-ignore | |
target: | |
- { name: Linux, os: ubuntu-latest, triple: x86_64-unknown-linux-gnu } | |
- { name: macOS, os: macos-latest, triple: x86_64-apple-darwin } | |
- { name: Windows, os: windows-latest, triple: x86_64-pc-windows-msvc } | |
version: | |
- { name: msrv, version: 1.68.0 } | |
- { name: stable, version: stable } | |
name: ${{ matrix.target.name }} / ${{ matrix.version.name }} | |
runs-on: ${{ matrix.target.os }} | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Install Rust (${{ matrix.version.name }}) | |
uses: actions-rust-lang/[email protected] | |
with: | |
toolchain: ${{ matrix.version.version }} | |
- name: Install cargo-hack, cargo-nextest | |
uses: taiki-e/[email protected] | |
with: | |
tool: cargo-hack,cargo-nextest | |
- name: workaround MSRV issues | |
if: matrix.version.name == 'msrv' | |
run: | | |
cargo update -p=trybuild --precise=1.0.89 | |
- name: Check minimal | |
run: cargo hack --clean-per-run check --workspace --no-default-features | |
- name: Tests | |
run: cargo nextest run --workspace --all-features --no-fail-fast | |
timeout-minutes: 10 | |
doc_test: | |
name: doctest | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Install Rust (nightly) | |
uses: actions-rust-lang/[email protected] | |
with: | |
toolchain: nightly | |
- name: Test documentation | |
run: cargo test --workspace --doc --all-features --no-fail-fast | |
timeout-minutes: 10 |