From b8374c147409a02fc35ad48b26aa7cafb27d8cf4 Mon Sep 17 00:00:00 2001 From: peterzen Date: Thu, 26 Jun 2025 01:51:32 +0200 Subject: [PATCH] Add GitHub Actions workflow for Go --- .github/workflows/go-ci.yml | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 .github/workflows/go-ci.yml diff --git a/.github/workflows/go-ci.yml b/.github/workflows/go-ci.yml new file mode 100644 index 0000000..6f6640f --- /dev/null +++ b/.github/workflows/go-ci.yml @@ -0,0 +1,18 @@ +name: Go CI + +on: + pull_request: + branches: ["**"] + +jobs: + build-and-test: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v3 + - uses: actions/setup-go@v4 + with: + go-version: '1.21' + - name: Build + run: go build ./... + - name: Test + run: go test ./...