1
0
mirror of https://github.com/Llewellynvdm/starship.git synced 2024-12-11 05:42:21 +00:00
starship/.github/workflows/security-audit.yml

30 lines
718 B
YAML
Raw Normal View History

name: Security audit
on:
pull_request:
paths:
2021-10-25 17:39:09 +00:00
- "**/Cargo.toml"
- "**/Cargo.lock"
push:
paths:
2021-10-25 17:39:09 +00:00
- "**/Cargo.toml"
- "**/Cargo.lock"
jobs:
security_audit:
runs-on: ubuntu-latest
strategy:
matrix:
checks:
- advisories
- bans licenses sources
# Prevent sudden announcement of a new advisory from failing ci:
continue-on-error: ${{ matrix.checks == 'advisories' }}
steps:
2021-10-25 17:39:09 +00:00
- name: Setup | Checkout
uses: actions/checkout@3df4ab11eba7bda6032a0b82a6bb43b11571feac # v4
2021-10-25 17:39:09 +00:00
- name: Test | Security Audit
uses: EmbarkStudios/cargo-deny-action@v1.5.4
with:
command: check ${{ matrix.checks }}