From c4c27a50d130a6222e34de67e1ab3f0b7e199994 Mon Sep 17 00:00:00 2001 From: ilangelov Date: Sun, 23 Feb 2025 09:38:24 +0200 Subject: [PATCH] Update test.yml --- .github/workflows/test.yml | 23 ++++++++++++++++++----- 1 file changed, 18 insertions(+), 5 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 49e7adc839..59bca6a159 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -1,11 +1,24 @@ -name: Test Runner +name: Go Tests on: - workflow_dispatch + pull_request: + branches: [master] + workflow_dispatch: jobs: - test: + test-go: + name: Run Go Tests runs-on: ubuntu-latest steps: - - name: Check runner - run: echo "Runner is working!" + - uses: actions/checkout@v4 + - name: Set up Go + uses: actions/setup-go@v5 + with: + go-version: 1.24.0 + cache: false + + - name: Run Go tests + run: go test -short ./... + env: + GOOS: linux + GOARCH: 386