Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions .github/workflows/checks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,10 @@ jobs:
strategy:
matrix:
os: [ubuntu-24.04, macos-15-intel, windows-2025]
go: ["1.26.10"]
go: ["1.26.11"]
include:
- os: ubuntu-24.04
go: "1.27.3"
go: "1.27.4"
defaults:
run:
shell: bash
Expand Down Expand Up @@ -64,7 +64,7 @@ jobs:
persist-credentials: false
- uses: actions/setup-go@924ae3a1cded613372ab5595356fb5720e22ba16 # v6
with:
go-version: "1.26.10"
go-version: "1.26.11"
- run: go install golang.org/x/vuln/cmd/govulncheck@v1.9.0
- run: bash build-release.sh
- name: Check the Linux archive
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:
run: test -s ".github/release-notes/$GITHUB_REF_NAME.md"
- uses: actions/setup-go@924ae3a1cded613372ab5595356fb5720e22ba16 # v6
with:
go-version: "1.26.10"
go-version: "1.26.11"
- uses: actions/setup-node@249970729cb0ef3589644e2896645e5dc5ba9c38 # v6
with:
node-version: "24.22.1"
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ Based on:

## Requirements

- Go 1.26.10 or Go 1.27.3, or a newer patched stable version (only for building from source)
- Go 1.26.11 or Go 1.27.4, or a newer patched stable version (only for building from source)
- API Key from [IPGeolocation.io](https://ipgeolocation.io)

## Installation
Expand Down
4 changes: 2 additions & 2 deletions build-release.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ APP_NAME="ipgeolocation"

compiler=$(go env GOVERSION)
if [[ ! "$compiler" =~ ^go1\.([0-9]+)\.([0-9]+)$ ]] ||
(( BASH_REMATCH[1] < 26 || (BASH_REMATCH[1] == 26 && BASH_REMATCH[2] < 10) || (BASH_REMATCH[1] == 27 && BASH_REMATCH[2] < 3) )); then
echo "Use Go 1.26.10, Go 1.27.3, or a newer patched stable version." >&2
(( BASH_REMATCH[1] < 26 || (BASH_REMATCH[1] == 26 && BASH_REMATCH[2] < 11) || (BASH_REMATCH[1] == 27 && BASH_REMATCH[2] < 4) )); then
echo "Use Go 1.26.11, Go 1.27.4, or a newer patched stable version." >&2
exit 1
fi
command -v govulncheck >/dev/null || { echo "Install govulncheck: go install golang.org/x/vuln/cmd/govulncheck@v1.9.0" >&2; exit 1; }
Expand Down
6 changes: 3 additions & 3 deletions cmd/release_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,9 @@ func TestReleaseGuardsKeepExistingArtifacts(t *testing.T) {
t.Fatal(err)
}
for _, tc := range []struct{ compiler, tag, want string }{
{"go1.24.5", "", "Use Go"}, {"go1.26.9", "", "Use Go"}, {"go1.27.2", "", "Use Go"},
{"go1.28rc1", "", "Use Go"}, {"go1.26.10", "v2.1.0", "Release tag must match"},
{"go1.26.10", "v2.1.2", "checks-started"}, {"go1.27.3", "", "checks-started"}, {"go1.28.0", "", "checks-started"},
{"go1.24.5", "", "Use Go"}, {"go1.26.10", "", "Use Go"}, {"go1.27.3", "", "Use Go"},
{"go1.28rc1", "", "Use Go"}, {"go1.26.11", "v2.1.0", "Release tag must match"},
{"go1.26.11", "v2.1.2", "checks-started"}, {"go1.27.4", "", "checks-started"}, {"go1.28.0", "", "checks-started"},
} {
t.Run(tc.compiler+tc.tag, func(t *testing.T) {
dir := t.TempDir()
Expand Down
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module github.com/IPGeolocation/cli/v2

go 1.26.10
go 1.26.11

require (
github.com/spf13/cobra v1.9.1
Expand Down