aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatt Joiner <anacrolix@gmail.com>2022-10-27 09:52:13 +1100
committerMatt Joiner <anacrolix@gmail.com>2022-10-27 09:52:13 +1100
commitd96e8113fca5e328319c0971f6d977cc467f6b6c (patch)
tree4833a6f352096c791aa5b4780bc3e75621c45b2b
parentmissing Get func added (#6) (diff)
downloadstm-d96e8113fca5e328319c0971f6d977cc467f6b6c.tar.gz
stm-d96e8113fca5e328319c0971f6d977cc467f6b6c.tar.xz
Add go test CI action
Diffstat (limited to '')
-rw-r--r--.github/workflows/go.yml23
1 files changed, 23 insertions, 0 deletions
diff --git a/.github/workflows/go.yml b/.github/workflows/go.yml
new file mode 100644
index 0000000..6519f90
--- /dev/null
+++ b/.github/workflows/go.yml
@@ -0,0 +1,23 @@
+# This workflow will build a golang project
+# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-go
+
+name: Go
+
+on:
+ push:
+ pull_request:
+
+jobs:
+
+ build:
+ runs-on: ubuntu-latest
+ steps:
+ - uses: actions/checkout@v3
+
+ - name: Set up Go
+ uses: actions/setup-go@v3
+ with:
+ go-version: 1.18
+
+ - name: Test
+ run: go test -v ./...