ci: hard fallback to GITHUB_TOKEN for release publish #20
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 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 |