diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index b292e89..078d698 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -37,13 +37,13 @@ jobs: # Install Go! - uses: actions/setup-go@v3 with: - go-version: "~1.23" + go-version: "~1.24" # Check for Go linting errors! - name: Lint Go uses: golangci/golangci-lint-action@v6.1.1 with: - version: v1.62.2 + version: v1.64.8 args: "--out-${NO_FUTURE}format colored-line-number" - name: Lint shell scripts @@ -98,7 +98,7 @@ jobs: - uses: actions/setup-go@v3 with: - go-version: "~1.23" + go-version: "~1.24" # Sadly the new "set output" syntax (of writing env vars to # $GITHUB_OUTPUT) does not work on both powershell and bash so we use the @@ -136,7 +136,7 @@ jobs: - uses: actions/setup-go@v3 with: - go-version: "~1.23" + go-version: "~1.24" # Sadly the new "set output" syntax (of writing env vars to # $GITHUB_OUTPUT) does not work on both powershell and bash so we use the @@ -170,7 +170,7 @@ jobs: - uses: actions/checkout@v3 - uses: actions/setup-go@v3 with: - go-version: "~1.23" + go-version: "~1.24" - name: Go Cache Paths id: go-cache-paths @@ -223,7 +223,7 @@ jobs: - name: Setup Go uses: actions/setup-go@v3 with: - go-version: "~1.23" + go-version: "~1.24" - name: Go Cache Paths id: go-cache-paths @@ -262,7 +262,7 @@ jobs: - uses: actions/setup-go@v3 with: - go-version: "~1.23" + go-version: "~1.24" - name: build image run: make -j build/image/envbox diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index 2735b78..3c77ce1 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -57,7 +57,7 @@ jobs: - uses: actions/setup-go@v3 with: - go-version: "~1.23" + go-version: "~1.24" - name: Go Cache Paths id: go-cache-paths diff --git a/.golangci.yaml b/.golangci.yaml index e92087f..06f75af 100644 --- a/.golangci.yaml +++ b/.golangci.yaml @@ -202,6 +202,7 @@ run: concurrency: 4 skip-dirs: - node_modules + - cli/cliflag skip-files: - scripts/rules.go timeout: 5m @@ -218,7 +219,6 @@ linters: - errcheck - errname - errorlint - - exportloopref - forcetypeassert - gocritic - gocyclo diff --git a/go.mod b/go.mod index ab9efd6..4ce200b 100644 --- a/go.mod +++ b/go.mod @@ -1,6 +1,7 @@ module github.com/coder/envbox -go 1.23.3 +go 1.24.1 + // There are a few minor changes we make to Tailscale that we're slowly upstreaming. Compare here: // https://github.com/tailscale/tailscale/compare/main...coder:tailscale:main replace tailscale.com => github.com/coder/tailscale v1.1.1-0.20240702054557-aa558fbe5374 diff --git a/sysboxutil/manager.go b/sysboxutil/manager.go index 61ea658..d3f9bef 100644 --- a/sysboxutil/manager.go +++ b/sysboxutil/manager.go @@ -5,8 +5,9 @@ import ( "os" "time" - "github.com/coder/envbox/xunix" "golang.org/x/xerrors" + + "github.com/coder/envbox/xunix" ) const ManagerSocketPath = "/run/sysbox/sysmgr.sock"