Skip to content

Commit

Permalink
ci: run go tests when go.mod/go.sum change
Browse files Browse the repository at this point in the history
  • Loading branch information
caitlinelfring committed Nov 5, 2021
1 parent 3551a75 commit cb4e0d1
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/benchmark.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@ on:
pull_request:
paths:
- "**.go"
- go.mod
- go.sum
- .github/workflows/benchmark.yml
jobs:
docs:
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/go.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,14 @@ on:
branches: [ main ]
paths:
- "**.go"
- go.mod
- go.sum
- .github/workflows/go.yml
pull_request:
paths:
- "**.go"
- go.mod
- go.sum
- .github/workflows/go.yml

jobs:
Expand Down

0 comments on commit cb4e0d1

Please sign in to comment.