From 3cd5d220787750763632129f6517e471b1366d86 Mon Sep 17 00:00:00 2001 From: Sergey Vilgelm <523825+SVilgelm@users.noreply.github.com> Date: Tue, 19 Nov 2024 21:37:05 -0800 Subject: [PATCH] Use go v1.23 (#73) --- .github/workflows/checks.yaml | 6 +++--- Makefile | 24 ------------------------ go.mod | 2 +- 3 files changed, 4 insertions(+), 28 deletions(-) delete mode 100644 Makefile diff --git a/.github/workflows/checks.yaml b/.github/workflows/checks.yaml index 2d810b4..9730676 100644 --- a/.github/workflows/checks.yaml +++ b/.github/workflows/checks.yaml @@ -34,9 +34,9 @@ jobs: strategy: matrix: go: - - "1.18" - - "1.19" - - "1.20" + - "1.21" + - "1.22" + - "1.23" steps: - name: Checkout repository diff --git a/Makefile b/Makefile deleted file mode 100644 index 6d54140..0000000 --- a/Makefile +++ /dev/null @@ -1,24 +0,0 @@ -BREWFILE=./.github/Brewfile - -NO_COLOR=\033[0m -OK_COLOR=\033[32;01m - -all: tidy lint test - -run-test: - @echo "$(OK_COLOR)==> Testing...$(NO_COLOR)" - @richgo test -cover -race - -run-benchmark: - @echo "$(OK_COLOR)==> Benchmarks...$(NO_COLOR)" - @richgo test -benchmem -run=Bench -bench=. . - -test: run-test run-benchmark - -lint: - @echo "$(OK_COLOR)==> Linting via golangci-lint...$(NO_COLOR)" - @golangci-lint run --fix ./... - -tidy: - @echo "$(OK_COLOR)==> Updating go.mod...$(NO_COLOR)" - @go mod tidy diff --git a/go.mod b/go.mod index a79c17f..cbd4f85 100644 --- a/go.mod +++ b/go.mod @@ -1,6 +1,6 @@ module github.com/sv-tools/buffers-pool -go 1.18 +go 1.23 require github.com/stretchr/testify v1.9.0