From e0d08a01fbae6f57e8bde3d907695e717f5d91ef Mon Sep 17 00:00:00 2001 From: TOL Date: Sun, 30 Jun 2024 22:43:39 +0900 Subject: [PATCH] Create go.yml --- .github/workflows/go.yml | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 .github/workflows/go.yml diff --git a/.github/workflows/go.yml b/.github/workflows/go.yml new file mode 100644 index 0000000..94edbb1 --- /dev/null +++ b/.github/workflows/go.yml @@ -0,0 +1,23 @@ +# 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] + +jobs: + + build: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + + - name: Set up Go + uses: actions/setup-go@v4 + with: + go-version: '1.22.4' + + - name: Build + run: go build -v ./... + + - name: Test + run: go test -v ./...