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
8 changes: 4 additions & 4 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:

- uses: actions/setup-go@v7
with:
go-version: "1.26"
go-version: "1.27"
cache: true

- name: go build
Expand All @@ -28,7 +28,7 @@ jobs:
- name: golangci-lint
uses: golangci/golangci-lint-action@v9
with:
version: v2.11.4
version: v2.13.2

smoke-cli:
name: smoke CLI (testdata chart)
Expand All @@ -39,7 +39,7 @@ jobs:

- uses: actions/setup-go@v7
with:
go-version: "1.26"
go-version: "1.27"
cache: true

- name: build vigie
Expand Down Expand Up @@ -83,7 +83,7 @@ jobs:

- uses: actions/setup-go@v7
with:
go-version: "1.26"
go-version: "1.27"
cache: true

- name: build vigie
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ jobs:

- uses: actions/setup-go@v7
with:
go-version: "1.26"
go-version: "1.27"
cache: true

- name: Install UPX
Expand Down
2 changes: 1 addition & 1 deletion .golangci.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
version: "2"

run:
go: "1.26"
go: "1.27"

linters:
settings:
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ Go executables that run on NixOS as-is; a `nix profile install kind k3d` is pick

## Installation

Build from source with Nix (Go 1.26):
Build from source with Nix (Go 1.27):

```sh
git clone https://github.com/fregateops/vigie
Expand All @@ -68,7 +68,7 @@ nix develop --command make build # -> dist/vigie
./dist/vigie version
```

Or with a local Go 1.26+ toolchain:
Or with a local Go 1.27+ toolchain:

```sh
go build -o vigie ./cmd/vigie
Expand Down
6 changes: 3 additions & 3 deletions flake.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 4 additions & 4 deletions flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
in {
devShells.default = pkgs.mkShell {
packages = with pkgs; [
go_1_26
go_1_27
gnumake
pre-commit
gitleaks
Expand All @@ -31,9 +31,9 @@
export GOPATH="$HOME/go"
export PATH="$GOPATH/bin:$PATH"

if ! golangci-lint --version 2>/dev/null | grep -q 'v2\.11\.4'; then
echo "Installing golangci-lint v2.11.4 (compiled with Go 1.26)..."
go install github.com/golangci/golangci-lint/v2/cmd/golangci-lint@v2.11.4
if ! golangci-lint --version 2>/dev/null | grep -q 'v2\.13\.2'; then
echo "Installing golangci-lint v2.13.2 (compiled with Go 1.27)..."
go install github.com/golangci/golangci-lint/v2/cmd/golangci-lint@v2.13.2
fi
'';
};
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/fregateops/vigie

go 1.26.5
go 1.27

require (
github.com/Masterminds/semver/v3 v3.5.0
Expand Down
16 changes: 8 additions & 8 deletions internal/doctor/envtest.go
Original file line number Diff line number Diff line change
Expand Up @@ -130,14 +130,14 @@ func CheckSetupEnvtest(kubeVersion string) (binaries *EnvtestBinaries, check Che
}

return &EnvtestBinaries{
APIServerPath: apiserverCandidate,
EtcdPath: etcdCandidate,
Source: fmt.Sprintf("setup-envtest (k8s %s)", kubeVersion),
}, Check{
Name: "setup-envtest",
Status: StatusOK,
Detail: fmt.Sprintf("found at %s, binaries resolved to %s", setupEnvtestPath, resolvedPath),
}
APIServerPath: apiserverCandidate,
EtcdPath: etcdCandidate,
Source: fmt.Sprintf("setup-envtest (k8s %s)", kubeVersion),
}, Check{
Name: "setup-envtest",
Status: StatusOK,
Detail: fmt.Sprintf("found at %s, binaries resolved to %s", setupEnvtestPath, resolvedPath),
}
}

// dirExists reports whether path is an existing directory.
Expand Down
Loading