Update uom requirement from 0.35 to 0.36 #141
Workflow file for this run
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
permissions: | |
contents: read | |
on: | |
push: | |
branches: | |
- main | |
- release | |
pull_request: | |
branches: | |
- main | |
- release | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }} | |
cancel-in-progress: true | |
name: Test | |
jobs: | |
test: | |
name: Test | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: dtolnay/rust-toolchain@stable | |
- if: hashFiles('Cargo.lock') == '' | |
run: cargo generate-lockfile | |
- run: cargo test --locked --all-features | |
minimal: | |
name: Minimal versions | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: dtolnay/rust-toolchain@stable | |
- uses: dtolnay/rust-toolchain@nightly | |
- run: rustup default stable | |
- run: cargo +nightly update -Zdirect-minimal-versions | |
- run: cargo test --locked --all-features | |
coverage: | |
name: Coverage | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
# nightly is required for --doctests, see cargo-llvm-cov#2 | |
- uses: dtolnay/rust-toolchain@nightly | |
with: | |
components: llvm-tools-preview | |
- uses: taiki-e/install-action@cargo-llvm-cov | |
- if: hashFiles('Cargo.lock') == '' | |
run: cargo generate-lockfile | |
- run: cargo +nightly llvm-cov --locked --all-features --lcov --doctests --output-path lcov.info | |
- uses: codecov/codecov-action@v4 | |
with: | |
fail_ci_if_error: true | |
token: ${{ secrets.CODECOV_TOKEN }} |