aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.github/workflows/go_build.yaml17
1 files changed, 17 insertions, 0 deletions
diff --git a/.github/workflows/go_build.yaml b/.github/workflows/go_build.yaml
new file mode 100644
index 0000000..6f1f8ca
--- /dev/null
+++ b/.github/workflows/go_build.yaml
@@ -0,0 +1,17 @@
+name: Go
+on:
+ push:
+ branches: [ "main" ]
+ pull_request:
+ branches: [ "main" ]
+jobs:
+ build:
+ runs-on: alpine-3.19
+ steps:
+ - uses: actions/checkout@v4
+ - name: Set up Go
+ uses: actions/setup-go@v4
+ with:
+ go-version: '1.21'
+ - name: Build
+ run: go build -v ./...