Merge pull request #218 from strukturag/ci-workflows
CI: Only run workflows if relevant files have changed.
This commit is contained in:
commit
b267f0dc50
|
@ -3,8 +3,14 @@ name: "CodeQL"
|
|||
on:
|
||||
push:
|
||||
branches: [ master ]
|
||||
paths:
|
||||
- '**.go'
|
||||
- 'go.*'
|
||||
pull_request:
|
||||
branches: [ master ]
|
||||
paths:
|
||||
- '**.go'
|
||||
- 'go.*'
|
||||
schedule:
|
||||
- cron: '28 2 * * 5'
|
||||
|
||||
|
|
|
@ -3,8 +3,14 @@ name: lint
|
|||
on:
|
||||
push:
|
||||
branches: [ master ]
|
||||
paths:
|
||||
- '**.go'
|
||||
- 'go.*'
|
||||
pull_request:
|
||||
branches: [ master ]
|
||||
paths:
|
||||
- '**.go'
|
||||
- 'go.*'
|
||||
|
||||
jobs:
|
||||
lint:
|
||||
|
|
|
@ -3,8 +3,16 @@ name: test
|
|||
on:
|
||||
push:
|
||||
branches: [ master ]
|
||||
paths:
|
||||
- '**.go'
|
||||
- 'go.*'
|
||||
- 'Makefile'
|
||||
pull_request:
|
||||
branches: [ master ]
|
||||
paths:
|
||||
- '**.go'
|
||||
- 'go.*'
|
||||
- 'Makefile'
|
||||
|
||||
jobs:
|
||||
go:
|
||||
|
|
Loading…
Reference in New Issue