diff options
author | Gustavo B. Schenkel <gustavo.schenkel@gmail.com> | 2021-07-10 01:03:46 -0300 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2021-07-12 21:45:06 +0700 |
commit | b56677d039adc135740e5f3eee28eef06405d2cd (patch) | |
tree | 10204d419b5937d6b386dae49048ef9d87b67af2 /libraries/libu2f-host/patches/0015-Adding-a-static-code-analysis-github-workflow.patch | |
parent | 9453e66b2cff3b29bc4760bfc6d87731457e76fb (diff) | |
download | slackbuilds-b56677d039adc135740e5f3eee28eef06405d2cd.tar.gz |
libraries/libu2f-host: Updated for version 1.1.11 (unreleased)
Signed-off-by: Gustavo B. Schenkel <gustavo.schenkel@gmail.com>
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'libraries/libu2f-host/patches/0015-Adding-a-static-code-analysis-github-workflow.patch')
-rw-r--r-- | libraries/libu2f-host/patches/0015-Adding-a-static-code-analysis-github-workflow.patch | 51 |
1 files changed, 51 insertions, 0 deletions
diff --git a/libraries/libu2f-host/patches/0015-Adding-a-static-code-analysis-github-workflow.patch b/libraries/libu2f-host/patches/0015-Adding-a-static-code-analysis-github-workflow.patch new file mode 100644 index 0000000000..0e33bc90f1 --- /dev/null +++ b/libraries/libu2f-host/patches/0015-Adding-a-static-code-analysis-github-workflow.patch @@ -0,0 +1,51 @@ +From ec539302876c4ab05ae0438ca4e575968270526b Mon Sep 17 00:00:00 2001 +From: Gabriel Kihlman <g.kihlman@yubico.com> +Date: Tue, 17 Dec 2019 15:16:44 +0100 +Subject: [PATCH 15/25] Adding a static code analysis github workflow + +Signed-off-by: Gustavo B. Schenkel <gustavo.schenkel@gmail.com> +--- + .github/workflows/scan.yml | 31 +++++++++++++++++++++++++++++++ + 1 file changed, 31 insertions(+) + create mode 100644 .github/workflows/scan.yml + +diff --git a/.github/workflows/scan.yml b/.github/workflows/scan.yml +new file mode 100644 +index 0000000..f8e54a1 +--- /dev/null ++++ b/.github/workflows/scan.yml +@@ -0,0 +1,31 @@ ++name: static code analysis ++ ++on: [push] ++env: ++ SCAN_IMG: ++ yes-docker-local.artifactory.in.yubico.org/static-code-analysis/c:v1 ++ ++jobs: ++ build: ++ runs-on: ubuntu-latest ++ ++ steps: ++ - uses: actions/checkout@master ++ ++ - name: Prep scan ++ run: | ++ docker login yes-docker-local.artifactory.in.yubico.org/ \ ++ -u svc-static-code-analysis-reader \ ++ -p ${{ secrets.ARTIFACTORY_READER_TOKEN }} ++ docker pull ${SCAN_IMG} ++ ++ - name: Scan but do not fail on warnings ++ run: | ++ docker run -v${PWD}:/k -e COMPILE_DEPS="${COMPILE_DEPS}" \ ++ -e PROJECT_NAME=${GITHUB_REPOSITORY#Yubico/} -t ${SCAN_IMG} || true ++ ++ - uses: actions/upload-artifact@master ++ if: failure() ++ with: ++ name: suppression_files ++ path: suppression_files +-- +2.32.0 + |