Skip to content

fix(deps): update rust crate cargo to 0.74 [security] - autoclosed #97

fix(deps): update rust crate cargo to 0.74 [security] - autoclosed

fix(deps): update rust crate cargo to 0.74 [security] - autoclosed #97

Workflow file for this run

name: Build & test
on:
push:
branches:
- master
pull_request:
branches:
- master
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Build
run: cargo build --verbose --locked
fmt:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Check formatting
run: cargo fmt -- --check
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Lint Code
run: cargo clippy --locked --tests -- -D warnings
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Run tests
run: cargo test --verbose
audit:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Install cargo audit
run: cargo install cargo-audit
- name: Run audit
run: |
if ! cargo audit -D warnings; then
echo "::warning file=Cargo.toml,line=1,col=1,endColumn=1::Problems detected by cargo audit"
fi