Skip to content

Update test.yml

Update test.yml #3

Workflow file for this run

name: Tests & Build
on: [push, pull_request]
jobs:
test:
name: cargo test
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@stable
- run: cargo test
name: cargo audits

Check failure on line 12 in .github/workflows/test.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/test.yml

Invalid workflow file

You have an error in your yaml syntax on line 12
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@stable
with:
components: clippy,rustfmt
- run: cargo install cargo-audit
- run: cargo install --locked cargo-vet
- run: cargo clippy -- -D warnings --no-deps
- run: cargo vet --locked
- run: cargo audit -D unsound -D yanked -D unmaintained --ignore "RUSTSEC-2020-0168"
name: cargo build
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@stable
- run: cargo build