Browse Source
To get it to work a secret named COVERITY_SCAN_TOKEN should be added to the util-linux repository: https://docs.github.com/en/actions/security-guides/encrypted-secrets#creating-encrypted-secrets-for-a-repository It has to match the util-linux project token, which can be found at https://scan.coverity.com/projects/karelzak-util-linux?tab=project_settings Signed-off-by: Evgeny Vereshchagin <evvers@ya.ru>pull/1491/head

4 changed files with 94 additions and 4 deletions
@ -0,0 +1,24 @@
|
||||
--- |
||||
name: Coverity |
||||
|
||||
on: |
||||
schedule: |
||||
# send data to Coverity daily at midnight |
||||
- cron: '0 0 * * *' |
||||
|
||||
jobs: |
||||
build: |
||||
runs-on: ubuntu-latest |
||||
if: github.repository == 'util-linux/util-linux' |
||||
env: |
||||
COMPILER: gcc |
||||
COVERITY_SCAN_TOKEN: "${{ secrets.COVERITY_SCAN_TOKEN }}" |
||||
steps: |
||||
- name: Repository checkout |
||||
uses: actions/checkout@v1 |
||||
- name: Ubuntu setup |
||||
run: sudo -E .github/workflows/cibuild-setup-ubuntu.sh |
||||
- name: Configure |
||||
run: .github/workflows/cibuild.sh CONFIGURE |
||||
- name: Coverity |
||||
run: .github/workflows/cibuild.sh COVERITY |
Loading…
Reference in new issue