diff options
author | haturatu <taro@eyes4you.org> | 2024-12-04 17:21:51 +0900 |
---|---|---|
committer | haturatu <taro@eyes4you.org> | 2024-12-04 17:21:51 +0900 |
commit | 6f0369786126e4809d83ca9bb1be5e2141f5720b (patch) | |
tree | 28f7533557e7b070180532dcf8c52c9cdbc90780 | |
parent | cde0a29893204f7934135963081c3a9c3c979b0a (diff) | |
parent | 127f0423667232d8cc59beb778dabaee6aa314ac (diff) |
Merge remote-tracking branch 'refs/remotes/origin/main'
-rw-r--r-- | .github/workflows/go.yml | 28 |
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 ./... |