refactor(.github/workflows): reorganize many builds (#332)

1. reduce the number of periodic builds

2. just build as part of the release process in most cases

3. shorttests duplicates coverage

Preliminary changes as part of https://github.com/ooni/probe/issues/1466
This commit is contained in:
Simone Basso 2021-05-06 19:56:55 +02:00 committed by GitHub
commit fd333bad16
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
16 changed files with 42 additions and 74 deletions

View file

@ -1,3 +1,5 @@
# CodeQL runs a CodeQL scan.
#
# For most projects, this workflow file will not need changing; you simply need
# to commit it to your repository.
#
@ -7,12 +9,7 @@ name: "CodeQL"
on:
push:
branches: [ master, 'release/**' ]
pull_request:
# The branches below must be a subset of the branches above
branches: [ master ]
schedule:
- cron: '35 10 * * 1'
branches: [ "release/**" ]
jobs:
analyze:
@ -22,7 +19,7 @@ jobs:
strategy:
fail-fast: false
matrix:
language: [ 'go' ]
language: [ "go" ]
steps:
- name: Checkout repository