From a171e65a8b5f340aa5cabd970a7d48ffe44e55f7 Mon Sep 17 00:00:00 2001 From: Robin Thellend Date: Sat, 12 Jul 2025 13:12:06 -0700 Subject: [PATCH 1/2] Create go.yml --- .github/workflows/go.yml | 25 +++++++++++++++++++++++++ 1 file changed, 25 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..8ae6c75 --- /dev/null +++ b/.github/workflows/go.yml @@ -0,0 +1,25 @@ +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.24' + + - name: Build + run: go build -v ./... + + - name: Test + run: go test -v ./... From 7c5ea0964f341221b1ce7a9edef297b891d3b800 Mon Sep 17 00:00:00 2001 From: Robin Thellend Date: Sat, 12 Jul 2025 13:14:47 -0700 Subject: [PATCH 2/2] Update go.yml --- .github/workflows/go.yml | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/.github/workflows/go.yml b/.github/workflows/go.yml index 8ae6c75..83236c2 100644 --- a/.github/workflows/go.yml +++ b/.github/workflows/go.yml @@ -1,13 +1,10 @@ name: Go - on: push: branches: [ "main" ] pull_request: branches: [ "main" ] - jobs: - build: runs-on: ubuntu-latest steps: @@ -19,7 +16,7 @@ jobs: go-version: '1.24' - name: Build - run: go build -v ./... + run: go build ./... - name: Test run: go test -v ./...