Commit 298a812

mo khan <mo@mokhan.ca>
2022-09-24 02:35:31
chore: add github action to run tests
1 parent 23b1a3f
Changed files (1)
.github
workflows
.github/workflows/ci.yml
@@ -0,0 +1,15 @@
+name: Go
+on:
+  push:
+    branches: [ "main" ]
+  pull_request:
+    branches: [ "main" ]
+jobs:
+  build:
+    runs-on: ubuntu-latest
+    steps:
+    - uses: actions/checkout@v3
+    - uses: actions/setup-go@v3
+      with:
+        go-version: 1.18
+    - run: go test -v ./...