feat(ci): Add dependency audit to CI tests

This commit is contained in:
Jonas Zohren 2022-02-18 22:30:02 +01:00
parent 8f063c99d5
commit ad6eb92bbd
No known key found for this signature in database
GPG key ID: FE3ED5D90A175463

View file

@ -270,6 +270,17 @@ test:format:
script:
- cargo fmt --all -- --check
test:audit:
extends: .test-shared-settings
allow_failure: true
script:
- cargo audit --color always || true
- cargo audit --stale --json | gitlab-report -p audit > gl-sast-report.json
artifacts:
when: always
reports:
sast: gl-sast-report.json
test:sytest:
stage: "test"
allow_failure: true