mirror of
https://github.com/Yubico/yubico-pam.git
synced 2025-02-08 12:54:18 +01:00
Add support of Mysql/Mariadb for the yubikey_mapping Mise à jour sql complete, manque la documentation Final clean Add packages dependency actions: apt update Fix bool variable cause error build travis Fix job #2 Fix job #3 Fix #4 fix &null fix &null fix &null Fix line 257 %s test Apple integration test Apple integration Timeout Travis extend Timeout travis extend Fix klali comment Fix warning fix configure.ac fix configure.ac Update configure.ac Update util.c Update util.h Update util.c Update util.c Update util.c Update util.c Fix white space fix left column
37 lines
892 B
YAML
37 lines
892 B
YAML
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
|