From 8a17137628a75b4288eb8b2115675dd5a0182f59 Mon Sep 17 00:00:00 2001 From: baillif charles <285223310+blccopyrigth7-creator@users.noreply.github.com> Date: Wed, 22 Jul 2026 00:41:47 -1200 Subject: [PATCH 1/2] Create go.yml --- .github/workflows/go.yml | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 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 00000000..0b443f37 --- /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.20' + + - name: Build + run: go build -v ./... + + - name: Test + run: go test -v ./... From 2a9fa00629dc432808abc05af27ae3b0be9a6dc2 Mon Sep 17 00:00:00 2001 From: baillif charles <285223310+blccopyrigth7-creator@users.noreply.github.com> Date: Wed, 22 Jul 2026 13:08:19 -1200 Subject: [PATCH 2/2] Add Go module commands to go.yml --- go.yml | 3 +++ 1 file changed, 3 insertions(+) create mode 100644 go.yml diff --git a/go.yml b/go.yml new file mode 100644 index 00000000..6f3bb6a0 --- /dev/null +++ b/go.yml @@ -0,0 +1,3 @@ +go get -u golang.org/x/tools +go mod tidy +go mod vendor