Skip to content

Fix a permanently held lock. #96

Fix a permanently held lock.

Fix a permanently held lock. #96

Workflow file for this run

name: Rust CI
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
env:
CARGO_TERM_COLOR: always
jobs:
ci:
runs-on: ubuntu-latest
continue-on-error: ${{ matrix.rust == 'nightly' }}
strategy:
fail-fast: false
matrix:
rust:
- stable
- beta
steps:
- uses: actions/checkout@v3
- uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: ${{ matrix.rust }}
override: true
components: rustfmt
- uses: actions-rs/cargo@v1
with:
command: build
args: --release --all-features -v
- uses: actions-rs/cargo@v1
with:
command: test
args: --all-features -v
- uses: actions-rs/cargo@v1
with:
command: fmt
args: --all -- --check
# TODO enable security audit once the lib deps are updated.
# - name: Security audit
# uses: actions-rs/audit-check@v1
# with:
# token: ${{ secrets.GITHUB_TOKEN }}