Skip to content

Fix release publish workflow robustness #11

Fix release publish workflow robustness

Fix release publish workflow robustness #11

Workflow file for this run

name: Security And Tests
on:
push:
branches:
- main
pull_request:
branches:
- main
workflow_dispatch:
permissions:
contents: read
env:
FORCE_JAVASCRIPT_ACTIONS_TO_NODE24: "true"
jobs:
checks:
name: Rust Checks
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v6
- name: Install cargo-audit
run: cargo install cargo-audit --locked
- name: Format check
run: cargo fmt --all -- --check
- name: Lints
run: cargo clippy --all-targets --all-features -- -D warnings
- name: Tests
run: cargo test --all-targets --all-features
- name: Dependency vulnerability audit
run: cargo audit --ignore RUSTSEC-2023-0071