1
0
mirror of https://github.com/Yubico/yubico-pam.git synced 2024-11-28 15:24:13 +01:00

tests: remove deprecated scan.yml workflow

This commit is contained in:
Alexandru Geana 2022-04-06 16:02:22 +00:00
parent 77949253e8
commit f90f94d698
No known key found for this signature in database
GPG Key ID: 7B02578FC8E45306

View File

@ -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