diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 8ccd15e..ea7f153 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -5,7 +5,7 @@ on: branches: ["main"] env: - GO_VERSION: "1.24" + GO_VERSION: "1.24.0" jobs: check: @@ -17,7 +17,6 @@ jobs: uses: actions/setup-go@v5 with: go-version: ${{ env.GO_VERSION }} - check-latest: true - name: Format run: gofmt -s -w . && git diff --exit-code @@ -52,7 +51,6 @@ jobs: uses: actions/setup-go@v5 with: go-version: ${{ env.GO_VERSION }} - check-latest: true - name: Test run: go test -v ./... @@ -94,7 +92,6 @@ jobs: uses: actions/setup-go@v5 with: go-version: ${{ env.GO_VERSION }} - check-latest: true - name: Go build env: diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index ca98016..b8599aa 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -5,7 +5,7 @@ on: types: [published] env: - GO_VERSION: "1.24" + GO_VERSION: "1.24.0" jobs: release: @@ -52,7 +52,6 @@ jobs: uses: actions/setup-go@v5 with: go-version: ${{ env.GO_VERSION }} - check-latest: true - name: Set bin name if: ${{ matrix.goos == 'windows' }} @@ -63,7 +62,7 @@ jobs: GOOS: ${{ matrix.goos }} GOARCH: ${{ matrix.goarch }} CGO_ENABLED: "0" - run: go build -trimpath -ldflags="-s -w" -o ${{ env.BIN_NAME }} + run: go build -trimpath -ldflags="-s -w -buildid=" -o ${{ env.BIN_NAME }} - name: Build archive (unix) if: ${{ matrix.goos != 'windows' }}