CI: Only run workflows if relevant files have changed.

This commit is contained in:
Joachim Bauch
2022-04-04 16:12:33 +02:00
parent 692879be78
commit 16072d020c
3 changed files with 20 additions and 0 deletions
+6
View File
@@ -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'
+6
View File
@@ -3,8 +3,14 @@ name: lint
on:
push:
branches: [ master ]
paths:
- '**.go'
- 'go.*'
pull_request:
branches: [ master ]
paths:
- '**.go'
- 'go.*'
jobs:
lint:
+8
View File
@@ -3,8 +3,16 @@ name: test
on:
push:
branches: [ master ]
paths:
- '**.go'
- 'go.*'
- 'Makefile'
pull_request:
branches: [ master ]
paths:
- '**.go'
- 'go.*'
- 'Makefile'
jobs:
go: