mirror of
https://github.com/GraphiteEditor/Graphite.git
synced 2026-09-15 22:28:10 +08:00
25
.github/workflows/ci.yml
vendored
25
.github/workflows/ci.yml
vendored
@@ -39,3 +39,28 @@ jobs:
|
||||
|
||||
- name: 🧪 Run Rust tests
|
||||
run: cargo test --verbose
|
||||
|
||||
cargo-deny:
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
strategy:
|
||||
matrix:
|
||||
checks:
|
||||
- 'security advisories'
|
||||
- 'banned licenses and crates'
|
||||
|
||||
# Prevent sudden announcement of a new advisory from failing ci:
|
||||
continue-on-error: ${{ matrix.checks == 'security advisories' }}
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
|
||||
- uses: EmbarkStudios/cargo-deny-action@v1
|
||||
if: matrix.checks == 'security advisories'
|
||||
with:
|
||||
command: check advisories
|
||||
|
||||
- uses: EmbarkStudios/cargo-deny-action@v1
|
||||
if: matrix.checks == 'banned licenses and crates'
|
||||
with:
|
||||
command: check bans licenses sources
|
||||
|
||||
Reference in New Issue
Block a user