summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorhaturatu <taro@eyes4you.org>2024-12-07 14:55:10 +0900
committerhaturatu <taro@eyes4you.org>2024-12-07 14:55:10 +0900
commit7b13748936a14d713c2c291271c97b9cecad8df7 (patch)
tree83c3de6b7c727f1d6824c8db6e613afd2be4178f
parentf7b9390966ba7b3f5b50841a4b4406fa80f67a70 (diff)
add ci dev
-rw-r--r--.github/workflows/dev-go.yml28
1 files changed, 28 insertions, 0 deletions
diff --git a/.github/workflows/dev-go.yml b/.github/workflows/dev-go.yml
new file mode 100644
index 0000000..c248a67
--- /dev/null
+++ b/.github/workflows/dev-go.yml
@@ -0,0 +1,28 @@
+# 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:
+ branches: [ "dev" ]
+ pull_request:
+ branches: [ "dev" ]
+
+jobs:
+
+ build:
+ runs-on: ubuntu-latest
+ steps:
+ - uses: actions/checkout@v4
+
+ - name: Set up Go
+ uses: http://github.com/actions/setup-go@v4
+ with:
+ go-version: '1.23.3'
+
+ - name: Build
+ run: go build -v ./...
+
+ - name: Test
+ run: go test -v ./...