summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorhaturatu <taro@eyes4you.org>2024-12-04 17:21:51 +0900
committerhaturatu <taro@eyes4you.org>2024-12-04 17:21:51 +0900
commit6f0369786126e4809d83ca9bb1be5e2141f5720b (patch)
tree28f7533557e7b070180532dcf8c52c9cdbc90780
parentcde0a29893204f7934135963081c3a9c3c979b0a (diff)
parent127f0423667232d8cc59beb778dabaee6aa314ac (diff)
Merge remote-tracking branch 'refs/remotes/origin/main'
-rw-r--r--.github/workflows/go.yml28
1 files changed, 28 insertions, 0 deletions
diff --git a/.github/workflows/go.yml b/.github/workflows/go.yml
new file mode 100644
index 0000000..034eee0
--- /dev/null
+++ b/.github/workflows/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: [ "main" ]
+ pull_request:
+ branches: [ "main" ]
+
+jobs:
+
+ build:
+ runs-on: ubuntu-latest
+ steps:
+ - uses: actions/checkout@v4
+
+ - name: Set up Go
+ uses: actions/setup-go@v4
+ with:
+ go-version: '1.23.3'
+
+ - name: Build
+ run: go build -v ./...
+
+ - name: Test
+ run: go test -v ./...