From 1f19d9b6028470cecebf5f650099eae169c2baf1 Mon Sep 17 00:00:00 2001 From: Alexandre1a <107309823+Alexandre1a@users.noreply.github.com> Date: Wed, 19 Mar 2025 15:25:11 +0100 Subject: [PATCH] Update go.yml Deleted build. Re added AMD64 into muliarch --- .github/workflows/go.yml | 19 ++----------------- 1 file changed, 2 insertions(+), 17 deletions(-) diff --git a/.github/workflows/go.yml b/.github/workflows/go.yml index c01b5f8..eb976e5 100644 --- a/.github/workflows/go.yml +++ b/.github/workflows/go.yml @@ -8,22 +8,6 @@ on: 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.23.5" - - - name: Build - run: go build -v ./... - - - name: Test - run: go test -v ./... - build-multiarch: runs-on: ubuntu-latest steps: @@ -32,12 +16,13 @@ jobs: - name: Set up Go uses: actions/setup-go@v4 with: - go-version: "1.23.5" + go-version: "1.24.1" - name: Build binaries for multiple architectures run: | mkdir -p dist # Linux + GOOS=linux GOARCH=amd64 go build -o dist/gosh-linux-amd64 GOOS=linux GOARCH=arm64 go build -o dist/gosh-linux-arm64 # macOS GOOS=darwin GOARCH=amd64 go build -o dist/gosh-mac-amd64