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