From f90f94d698419cdd5ae9e7128b625b2013d22a43 Mon Sep 17 00:00:00 2001 From: Alexandru Geana Date: Wed, 6 Apr 2022 16:02:22 +0000 Subject: [PATCH] tests: remove deprecated scan.yml workflow --- .github/workflows/scan.yml | 36 ------------------------------------ 1 file changed, 36 deletions(-) delete mode 100644 .github/workflows/scan.yml diff --git a/.github/workflows/scan.yml b/.github/workflows/scan.yml deleted file mode 100644 index 621e24c0..00000000 --- a/.github/workflows/scan.yml +++ /dev/null @@ -1,36 +0,0 @@ -name: static code analysis - -on: - push: - schedule: - - cron: '0 0 * * 1' - -env: - SCAN_IMG: - yubico-yes-docker-local.jfrog.io/static-code-analysis/c:v1 - COMPILE_DEPS: "libykclient-dev libykpers-1-dev libyubikey-dev libmysqlclient-dev" - -jobs: - build: - runs-on: ubuntu-latest - - steps: - - uses: actions/checkout@master - - - name: Prep scan - run: | - docker login yubico-yes-docker-local.jfrog.io/ \ - -u svc-static-code-analysis-reader \ - -p ${{ secrets.ARTIFACTORY_READER_TOKEN }} - docker pull ${SCAN_IMG} - - - name: Scan and fail if warnings - run: | - docker run -v${PWD}:/k -e COMPILE_DEPS="${COMPILE_DEPS}" \ - -e PROJECT_NAME=${GITHUB_REPOSITORY#Yubico/} -t ${SCAN_IMG} - - - uses: actions/upload-artifact@master - if: failure() - with: - name: suppression_files - path: suppression_files