From 1b28715ebee0f73133e545349eb469090605cbbc Mon Sep 17 00:00:00 2001 From: Taylor Jackle Spriggs Date: Wed, 8 May 2024 16:58:53 -0600 Subject: [PATCH 1/2] coverity scan workflow --- .github/workflows/coverity.yml | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 .github/workflows/coverity.yml diff --git a/.github/workflows/coverity.yml b/.github/workflows/coverity.yml new file mode 100644 index 00000000..b5d4f2e9 --- /dev/null +++ b/.github/workflows/coverity.yml @@ -0,0 +1,18 @@ +name: Coverity Scan + +on: + push: {} + # branches: [main] +jobs: + coverity: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + - run: git ls-files > git-ls-files.lst + - uses: vapier/coverity-scan-action@v1 + with: + project: sigopt-python + email: ${{ secrets.COVERITY_SCAN_EMAIL }} + token: ${{ secrets.COVERITY_SCAN_TOKEN }} + build_language: other + command: "--no-command --fs-capture-list git-ls-files.lst" From 6297d2785f4f73e6fddde9b413beda40ee419a3a Mon Sep 17 00:00:00 2001 From: Taylor Jackle Spriggs Date: Wed, 8 May 2024 17:09:46 -0600 Subject: [PATCH 2/2] on push to main --- .github/workflows/coverity.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/coverity.yml b/.github/workflows/coverity.yml index b5d4f2e9..19cb22d4 100644 --- a/.github/workflows/coverity.yml +++ b/.github/workflows/coverity.yml @@ -1,8 +1,8 @@ name: Coverity Scan on: - push: {} - # branches: [main] + push: + branches: [main] jobs: coverity: runs-on: ubuntu-latest