Skip to content

Instantly share code, notes, and snippets.

@welf
welf / rust_code_check.yml
Last active May 17, 2024 00:46
GitHub Actions - Rust code check
# Check PRs for formatting issues, linting issues, run tests, and check code coverage
name: Code Check
on:
push:
branches:
- main
# Perform check if Rust files or the current file are modified only
paths:
- src/**
@welf
welf / rust_dependencies_audit.yml
Last active May 17, 2024 00:45
GitHub Actions - Rust dependencies audit
# Daily scan Rust dependencies for vulnerabilities
name: Security Audit
on:
schedule:
- cron: "0 0 * * *"
push:
paths:
- Cargo.toml
- Cargo.lock