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:
parent
0f98caf3b4
commit
fd333bad16
16 changed files with 42 additions and 74 deletions
11
.github/workflows/codeql-analysis.yml
vendored
11
.github/workflows/codeql-analysis.yml
vendored
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue