ci: only trigger test workflow when relevant files change

Signed-off-by: NotAShelf <raf@notashelf.dev>
Change-Id: Ideee10cc79f6d3a3d542b5ae6bc375156a6a6964
This commit is contained in:
raf 2026-03-07 11:39:06 +03:00
commit ad50debb62
Signed by: NotAShelf
GPG key ID: 29D95B64378DB4BF

View file

@ -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: