mirror of
https://github.com/Yubico/yubico-pam.git
synced 2024-11-29 00:24:11 +01:00
Merge pull request #237 from Yubico/yes/clean-workflows
tests: remove deprecated scan.yml workflow
This commit is contained in:
commit
5719a2f859
36
.github/workflows/scan.yml
vendored
36
.github/workflows/scan.yml
vendored
@ -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
|
|
Loading…
Reference in New Issue
Block a user