From 2c36d5111bef01ee7a05e876415b427aafeb543f Mon Sep 17 00:00:00 2001 From: Seth Hoenig Date: Tue, 9 Jun 2026 08:45:13 -0500 Subject: [PATCH] deps: update to go 1.26 --- .github/workflows/ci.yaml | 2 +- .gitignore | 4 ---- Justfile | 8 +++++++- go.mod | 2 +- 4 files changed, 9 insertions(+), 7 deletions(-) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 90f9b89..e4c3034 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -24,5 +24,5 @@ jobs: just sysinfo - name: Run Go Test run: | - just init tidy lint test + just init tidy lint tests diff --git a/.gitignore b/.gitignore index 5f40696..316039c 100644 --- a/.gitignore +++ b/.gitignore @@ -4,9 +4,6 @@ # OS files **/.DS_Store -# Build artifacts -site - # Go workspace file go.work go.work.sum @@ -14,4 +11,3 @@ go.work.sum # Local source and binary files .src/ .bin/ - diff --git a/Justfile b/Justfile index 0ae8c6a..e44b34b 100644 --- a/Justfile +++ b/Justfile @@ -13,9 +13,15 @@ default: tidy: go mod tidy +# run specific unit test +[group('build')] +[no-cd] +test unit: + go test -v -count=1 -race -run {{unit}} 2>/dev/null + # run tests across source tree [group('build')] -test: +tests: go test -v -race -count=1 ./... # apply go vet command on source tree diff --git a/go.mod b/go.mod index 4646626..045d0d1 100644 --- a/go.mod +++ b/go.mod @@ -1,6 +1,6 @@ module cattlecloud.net/go/circlebuffer -go 1.24 +go 1.26 require github.com/shoenig/test v1.13.2