fix: enable TLS 1.2 for hyper-rustls #61
This file contains 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 audit | |
on: | |
workflow_dispatch: | |
push: | |
branches: | |
- main | |
- development | |
paths: | |
- "**/Cargo.toml" | |
- "**/Cargo.lock" | |
jobs: | |
security_audit: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
# Moves all files in sub dir to top-level dir | |
- run: cd $GITHUB_WORKSPACE && mv backend/* . | |
# Delete directories not to be audited | |
- run: cd $GITHUB_WORKSPACE && rm -rf backend Dockerfile frontend LICENSE README.md scripts | |
- uses: actions-rs/audit-check@v1 | |
with: | |
token: ${{ secrets.GITHUB_TOKEN }} | |
- uses: EmbarkStudios/cargo-deny-action@v1 |