From 7b13748936a14d713c2c291271c97b9cecad8df7 Mon Sep 17 00:00:00 2001 From: haturatu Date: Sat, 7 Dec 2024 14:55:10 +0900 Subject: add ci dev --- .github/workflows/dev-go.yml | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 .github/workflows/dev-go.yml 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 ./... -- cgit v1.2.3