diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml index e64898d..3e9ba76 100644 --- a/.github/workflows/build.yaml +++ b/.github/workflows/build.yaml @@ -16,7 +16,7 @@ jobs: - name: Set up Go 1.x uses: actions/setup-go@v3 with: - go-version: ^1.23 + go-version: ^1.24 id: go - name: Checkout code diff --git a/.github/workflows/publish.yaml b/.github/workflows/publish.yaml index fec579d..e71ce47 100644 --- a/.github/workflows/publish.yaml +++ b/.github/workflows/publish.yaml @@ -19,7 +19,7 @@ jobs: uses: actions/setup-go@v3 id: go with: - go-version: ^1.23 + go-version: ^1.24 - name: Run GoReleaser uses: goreleaser/goreleaser-action@v4 diff --git a/.goreleaser.yml b/.goreleaser.yml index ecc386b..c7e83d8 100644 --- a/.goreleaser.yml +++ b/.goreleaser.yml @@ -44,7 +44,7 @@ brews: bin.install "wiretap" snapshot: - name_template: "{{ .Tag }}" + version_template: "{{ .Tag }}" upx: - diff --git a/cmd/root_command.go b/cmd/root_command.go index 5da1230..5fd0f41 100644 --- a/cmd/root_command.go +++ b/cmd/root_command.go @@ -267,7 +267,7 @@ var ( pterm.Println() } - if mockMode || len(config.MockModeList) > 0 && spec == "" { + if (mockMode || len(config.MockModeList) > 0) && spec == "" { pterm.Println() pterm.Error.Println("Cannot enable mock mode, no OpenAPI specification provided!\n" + "Please provide a path to an OpenAPI specification using the --spec or -s flags.\n" +