aboutsummaryrefslogtreecommitdiffstats
path: root/.github/workflows/go.yml
diff options
context:
space:
mode:
authorMatt Strapp <matt@mattstrapp.net>2024-08-06 21:42:06 -0500
committerMatt Strapp <matt@mattstrapp.net>2024-08-06 21:42:06 -0500
commit54efd6488c27d54b2ff3fc946d489f1b0e047177 (patch)
tree1a7b0d631cde3517b6bd91c6528606d8fdd76cc1 /.github/workflows/go.yml
parentBump more GHA files (diff)
downloadlocusts-54efd6488c27d54b2ff3fc946d489f1b0e047177.tar
locusts-54efd6488c27d54b2ff3fc946d489f1b0e047177.tar.gz
locusts-54efd6488c27d54b2ff3fc946d489f1b0e047177.tar.bz2
locusts-54efd6488c27d54b2ff3fc946d489f1b0e047177.tar.lz
locusts-54efd6488c27d54b2ff3fc946d489f1b0e047177.tar.xz
locusts-54efd6488c27d54b2ff3fc946d489f1b0e047177.tar.zst
locusts-54efd6488c27d54b2ff3fc946d489f1b0e047177.zip
Allow CI to run when CI files are edited
Signed-off-by: Matt Strapp <matt@mattstrapp.net>
Diffstat (limited to '')
-rw-r--r--.github/workflows/go.yml14
1 files changed, 8 insertions, 6 deletions
diff --git a/.github/workflows/go.yml b/.github/workflows/go.yml
index 875286d..68feb69 100644
--- a/.github/workflows/go.yml
+++ b/.github/workflows/go.yml
@@ -3,12 +3,14 @@ name: Go
on:
push:
paths:
- - '**.go'
- - '**go.mod'
+ - "**.go"
+ - "**go.mod"
+ - ".github/workflows/go.yml"
pull_request:
paths:
- - '**.go'
- - '**go.mod'
+ - "**.go"
+ - "**go.mod"
+ - ".github/workflows/go.yml"
jobs:
build:
@@ -22,8 +24,8 @@ jobs:
- name: Set up Go
uses: actions/setup-go@v5
with:
- go-version: 'stable'
+ go-version: "stable"
- name: Build
run: go build -v .
- name: Test
- run: go test -v . \ No newline at end of file
+ run: go test -v .