From b95b12cb5ba0f72f02a9e9b78100ba5df35ed97f Mon Sep 17 00:00:00 2001 From: Angel Marin Date: Wed, 5 Nov 2025 23:16:33 +0100 Subject: [PATCH] Update Go version and adjust build/test commands Updated Go version and modified build and test commands in the workflow. --- .github/workflows/go.yml | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 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 000000000..03c5d0b67 --- /dev/null +++ b/.github/workflows/go.yml @@ -0,0 +1,31 @@ +# 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.24.9' + + - name: Build + run: go build ./cmd/trex/main.go + + - name: Test + run: make test + + - name: Test integration + run: make test-integration