mirror of
https://github.com/eclipse/mosquitto.git
synced 2025-05-09 01:01:11 +08:00
Separate coverity scan branches scans.
This commit is contained in:
parent
ff97fbfe94
commit
efef2abdce
@ -1,4 +1,4 @@
|
||||
name: Coverity Scan fixes and develop branches on a weekly basis
|
||||
name: Coverity Scan develop branch on a weekly basis
|
||||
|
||||
on:
|
||||
workflow_dispatch:
|
||||
@ -9,7 +9,9 @@ jobs:
|
||||
coverity:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- uses: actions/checkout@v3
|
||||
with:
|
||||
ref: develop
|
||||
|
||||
- name: Dependencies
|
||||
run: sudo apt-get install -y libcjson-dev libsqlite3-dev libssl-dev uthash-dev
|
26
.github/workflows/coverity-scan-fixes.yml
vendored
Normal file
26
.github/workflows/coverity-scan-fixes.yml
vendored
Normal file
@ -0,0 +1,26 @@
|
||||
name: Coverity Scan fixes branch on a weekly basis
|
||||
|
||||
on:
|
||||
workflow_dispatch:
|
||||
schedule:
|
||||
- cron: "7 3 * * 3"
|
||||
|
||||
jobs:
|
||||
coverity:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
with:
|
||||
ref: fixes
|
||||
|
||||
- name: Dependencies
|
||||
run: sudo apt-get install -y libcjson-dev libsqlite3-dev libssl-dev uthash-dev
|
||||
|
||||
- uses: vapier/coverity-scan-action@v1
|
||||
with:
|
||||
build_language: 'cxx'
|
||||
project: "eclipse/mosquitto"
|
||||
token: ${{ secrets.COVERITY_SCAN_TOKEN }}
|
||||
email: ${{ secrets.COVERITY_SCAN_EMAIL }}
|
||||
command: "make binary"
|
||||
|
21
.github/workflows/covsync.yml
vendored
21
.github/workflows/covsync.yml
vendored
@ -1,21 +0,0 @@
|
||||
name: "Synchronise Coverity Scan branches on a weekly basis"
|
||||
|
||||
on:
|
||||
workflow_dispatch:
|
||||
schedule:
|
||||
- cron: "7 3 * * 0"
|
||||
|
||||
jobs:
|
||||
build:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
with:
|
||||
fetch-depth: 0
|
||||
- run: |
|
||||
git checkout coverity-fixes
|
||||
git reset --hard origin/fixes
|
||||
git push origin coverity-fixes
|
||||
git checkout coverity-develop
|
||||
git reset --hard origin/develop
|
||||
git push origin coverity-develop
|
Loading…
x
Reference in New Issue
Block a user