Skip to content

Collapse cargo audit into Rust GH workflow #5

Collapse cargo audit into Rust GH workflow

Collapse cargo audit into Rust GH workflow #5

Workflow file for this run

name: Rust
on:
push:
branches: [ "master" ]
pull_request:
branches: [ "master" ]
schedule:
- cron: '24 3 3 * *' # To check for cargo audit issues
workflow_dispatch:
env:
CARGO_TERM_COLOR: always
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Build
run: cargo build --verbose
- name: Run tests
run: cargo test --verbose
- name: Audit
run: cargo audit --verbose