Skip to content

Update README.md

Update README.md #48

Workflow file for this run

name: Rust
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
env:
CARGO_TERM_COLOR: always
jobs:
fmt:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- run: cargo fmt -- --check
clippy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- run: cargo clippy -- -D warnings
test:
strategy:
matrix:
# https://docs.github.com/en/actions/using-jobs/choosing-the-runner-for-a-job#choosing-github-hosted-runners
os: [windows-latest, ubuntu-latest, macos-13]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v3
- run: cargo t
coverage:
runs-on: macos-13
steps:
- uses: actions/checkout@v3
- run: cargo install cargo-tarpaulin
- run: cargo c
- uses: actions/upload-artifact@v3
with:
path: tarpaulin-report.html
if: always()