From 64472bffefa6b12cd00eb7d426c8d7b96bb12c7a Mon Sep 17 00:00:00 2001 From: traut Date: Sun, 11 Feb 2024 20:38:04 +0100 Subject: [PATCH] Use simple build for pull request builds --- .github/workflows/main.yml | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 9509d81e..2b4ff7b4 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -28,18 +28,17 @@ jobs: builds: strategy: fail-fast: true - runs-on: ubuntu-latest + matrix: + go-version: ["1.21.x"] + os: [ubuntu-latest, macos-latest, windows-latest] + runs-on: ${{ matrix.os }} steps: - uses: actions/checkout@v4 - uses: actions/setup-go@v4 with: go-version: stable - - name: Run GoReleaser - uses: goreleaser/goreleaser-action@v5 - with: - distribution: goreleaser - version: latest - args: build --snapshot --clean + - name: Build fabric + run: go build -v -o ${{ runner.temp }}/fabric golangci-lint: runs-on: ubuntu-latest