Update Cargo deps: Bump clap from 4.5.16 to 4.5.17 in the cargo-deps group #46
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
name: Continuous Integration | |
on: | |
pull_request: | |
push: | |
branches: | |
- main | |
paths: | |
- '.github/workflows/ci.yml' | |
- 'schemius/**' | |
- 'schemius-native/**' | |
- 'schemius-web/src/**' | |
- 'schemius-web/Cargo.toml' | |
jobs: | |
build-and-test: | |
runs-on: ${{ matrix.os }} | |
strategy: | |
matrix: | |
os: [ubuntu-latest, macos-latest, windows-latest] | |
toolchain: [stable, nightly] | |
steps: | |
- name: Set up Rust | |
run: | | |
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y --default-toolchain ${{ matrix.toolchain }} | |
cargo install cargo-tarpaulin | |
- name: Check Rust toolchain | |
run: rustup toolchain list | |
- name: Check out code | |
uses: actions/checkout@v4 | |
- name: Build | |
run: cargo build --verbose | |
- name: Test | |
run: cargo test --verbose | |
- name: Generate code coverage | |
run: cargo tarpaulin --out lcov | |
if: matrix.toolchain == 'stable' && matrix.os == 'ubuntu-latest' | |
- name: Upload code coverage to Coveralls | |
uses: coverallsapp/github-action@v2 | |
with: | |
github-token: ${{ secrets.GITHUB_TOKEN }} | |
path-to-lcov: ./lcov.info | |
if: matrix.os == 'ubuntu-latest' && matrix.toolchain == 'stable' |