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:53:48 +1100
commit33b8a9d5dc0c8e178975e083aff9d60d3ad078c8 (patch)
tree938aec45ab3e86cb63e3f89ff86924750762140b
parentMostly fix compatibility with immutable v0.4.0 (diff)
downloadstm-33b8a9d5dc0c8e178975e083aff9d60d3ad078c8.tar.gz
stm-33b8a9d5dc0c8e178975e083aff9d60d3ad078c8.tar.xz
Add go test CI action
(cherry picked from commit d96e8113fca5e328319c0971f6d977cc467f6b6c)
-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 ./...