Commit 667c3307 authored by Mickaël Desfrênes's avatar Mickaël Desfrênes
Browse files

Mettre à jour le fichier .gitlab-ci.yml

parent 94dd5955
Loading
Loading
Loading
Loading
+11 −2
Original line number Diff line number Diff line
@@ -12,9 +12,18 @@ secret_detection:

dependency_vulnerability_scan:
  stage: test
  image: ghcr.io/google/osv-scanner:v2
  image: alpine:latest
  before_script:
    - apk add --no-cache osv-scanner
  script:
    - scan --lockfile=uv.lock --format=json --output=osv-report.json
    - |
      set +e
      osv-scanner scan -L uv.lock \
        --format=json \
        --output-file=osv-report.json
      STATUS=$?
      test -f osv-report.json
      exit $STATUS
  artifacts:
    when: always
    paths: