diff options
author | haturatu <taro@eyes4you.org> | 2024-12-07 14:55:10 +0900 |
---|---|---|
committer | haturatu <taro@eyes4you.org> | 2024-12-07 14:55:10 +0900 |
commit | 7b13748936a14d713c2c291271c97b9cecad8df7 (patch) | |
tree | 83c3de6b7c727f1d6824c8db6e613afd2be4178f | |
parent | f7b9390966ba7b3f5b50841a4b4406fa80f67a70 (diff) |
add ci dev
-rw-r--r-- | .github/workflows/dev-go.yml | 28 |
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 ./... |