From 8220212d4d250c4e4eea4ebebe03839c8859f8e7 Mon Sep 17 00:00:00 2001 From: Arjuna Ragil Putera Date: Tue, 22 Sep 2026 10:24:31 +0700 Subject: [PATCH] feat: Change workflow to Windows and update action versions Updated the Go workflow to use Windows and newer action versions. --- .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 0000000..22c7253 --- /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: Build & Test + +on: + push: + branches: [ "main" ] + pull_request: + branches: [ "main" ] + +jobs: + + build: + runs-on: windows-latest + steps: + - uses: actions/checkout@v7 + + - name: Set up Go + uses: actions/setup-go@v7 + with: + go-version: '1.25.4' + + - name: Build + run: go build -v ./... + + - name: Test + run: go test -v ./...