From 74c6f0af168f0304c471a46334977a81d636d17d Mon Sep 17 00:00:00 2001 From: Eltrac Date: Tue, 2 Dec 2025 17:24:43 +0800 Subject: chore(github): setup go test workflow --- .github/workflows/go.yml | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 .github/workflows/go.yml (limited to '.github/workflows') diff --git a/.github/workflows/go.yml b/.github/workflows/go.yml new file mode 100644 index 0000000..ccb5ee3 --- /dev/null +++ b/.github/workflows/go.yml @@ -0,0 +1,24 @@ +# This workflow will test a golang project +name: Test Go + +on: + push: + branches: [ "master" ] + pull_request: + branches: [ "master" ] + +jobs: + + build: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + + - name: Set up Go + uses: actions/setup-go@v4 + with: + go-version: '1.25.4' + - name: Install dependencies + run: go get . + - name: Test + run: go test -v ./... -- cgit v1.2.3