From 934e6faf4fdb321cb37e98d84e2597d2512a4676 Mon Sep 17 00:00:00 2001 From: Ingmar Stein Date: Mon, 19 Aug 2024 22:25:05 +0200 Subject: [PATCH] Update to Go 1.23.0 --- .goreleaser.yml | 2 +- Makefile | 9 +++++++-- go.mod | 2 +- 3 files changed, 9 insertions(+), 4 deletions(-) diff --git a/.goreleaser.yml b/.goreleaser.yml index 5d0a97a..088f23f 100644 --- a/.goreleaser.yml +++ b/.goreleaser.yml @@ -18,7 +18,7 @@ archives: checksum: name_template: 'checksums.txt' snapshot: - name_template: "{{ .Tag }}-next" + version_template: "{{ .Tag }}-next" changelog: sort: asc filters: diff --git a/Makefile b/Makefile index eb39698..7afbf32 100644 --- a/Makefile +++ b/Makefile @@ -1,4 +1,6 @@ -.phony: fmt run run-8583 run-modbus echo-client http-client-nobody http-client-body http-client-form build test vet +.phony: all clean fmt run run-8583 run-modbus echo-client http-client-nobody http-client-body http-client-form build test vet + +all: build fmt: go fmt ./... @@ -23,4 +25,7 @@ vet: go vet ./... build: fmt - go build + CGO_ENABLED=0 go build + +clean: + rm -f tcp-multiplexer diff --git a/go.mod b/go.mod index e9a7734..e40d049 100644 --- a/go.mod +++ b/go.mod @@ -1,6 +1,6 @@ module github.com/ingmarstein/tcp-multiplexer -go 1.22.6 +go 1.23.0 require ( github.com/davecgh/go-spew v1.1.1