mirror of
https://github.com/NotAShelf/watchdog.git
synced 2026-04-15 14:54:00 +00:00
ci: only trigger test workflow when relevant files change
Signed-off-by: NotAShelf <raf@notashelf.dev> Change-Id: Ideee10cc79f6d3a3d542b5ae6bc375156a6a6964
This commit is contained in:
parent
4cd0b3b0cf
commit
ad50debb62
1 changed files with 13 additions and 0 deletions
13
.github/workflows/go.yml
vendored
13
.github/workflows/go.yml
vendored
|
|
@ -3,8 +3,21 @@ name: Build & Test with Go
|
|||
on:
|
||||
push:
|
||||
branches: [main]
|
||||
paths:
|
||||
- '**.go'
|
||||
- 'go.mod'
|
||||
- 'go.sum'
|
||||
- '.github/workflows/go.yml'
|
||||
- 'testdata/**'
|
||||
|
||||
pull_request:
|
||||
branches: [main]
|
||||
paths:
|
||||
- '**.go'
|
||||
- 'go.mod'
|
||||
- 'go.sum'
|
||||
- '.github/workflows/go.yml'
|
||||
- 'testdata/**'
|
||||
|
||||
jobs:
|
||||
test:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue