aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorterminaldweller <devi@terminaldweller.com>2024-05-13 11:19:56 +0000
committerterminaldweller <devi@terminaldweller.com>2024-05-13 11:19:56 +0000
commit7069f28ccd9f9f85eccac0c4b34b77f3d53df65f (patch)
treed1ba93098ce3ac093e071830f223342140638d97
parentadded a gtihub action for pushing to dockerhub (diff)
downloadmilla-7069f28ccd9f9f85eccac0c4b34b77f3d53df65f.tar.gz
milla-7069f28ccd9f9f85eccac0c4b34b77f3d53df65f.zip
added a github action for building the go package
-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 ./...