From 5bde4ea763e78ba9b36708fec1aca72fbfa61c53 Mon Sep 17 00:00:00 2001 From: eaudetcobello Date: Tue, 24 Sep 2024 13:17:26 -0400 Subject: [PATCH] Update cron-jobs.yaml --- .github/workflows/cron-jobs.yaml | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/.github/workflows/cron-jobs.yaml b/.github/workflows/cron-jobs.yaml index fc658da51..036d0d443 100644 --- a/.github/workflows/cron-jobs.yaml +++ b/.github/workflows/cron-jobs.yaml @@ -1,12 +1,13 @@ name: Security and quality nightly scan on: - schedule: - - cron: '0 10 * * *' + pull_request: + # schedule: + # - cron: '0 10 * * *' permissions: contents: read - + jobs: TICS: permissions: @@ -47,7 +48,7 @@ jobs: # TICS requires us to have the test results in cobertura xml format under the # directory use below - make go.unit + sudo make go.unit go install github.com/boumenot/gocover-cobertura@latest gocover-cobertura < coverage.txt > coverage.xml mkdir .coverage @@ -62,7 +63,7 @@ jobs: # will try to build parts of the project itself sudo add-apt-repository -y ppa:dqlite/dev sudo apt install dqlite-tools libdqlite-dev -y - make clean + sudo make clean go build -a ./... TICSQServer -project k8s-snap -tmpdir /tmp/tics -branchdir $HOME/work/k8s-snap/k8s-snap/