From e00a48b2e3b54364eb3b797a3d7077e926ac9ef2 Mon Sep 17 00:00:00 2001 From: Fredrik Averpil Date: Tue, 17 Sep 2024 21:41:29 +0200 Subject: [PATCH] chore(ci): bump go to 1.23.1 --- .github/workflows/format.yml | 2 +- .github/workflows/lint.yml | 2 +- .github/workflows/test.yml | 4 ++-- .github/workflows/vuln.yml | 2 +- tests/go/go.mod | 2 +- tests/unit/golist_spec.lua | 2 +- tests/unit/json_spec.lua | 4 ++-- 7 files changed, 9 insertions(+), 9 deletions(-) diff --git a/.github/workflows/format.yml b/.github/workflows/format.yml index 42390a3d..4efe8748 100644 --- a/.github/workflows/format.yml +++ b/.github/workflows/format.yml @@ -25,7 +25,7 @@ jobs: - name: Set up Go uses: actions/setup-go@v5 with: - go-version: 1.22 + go-version: 1.23 - name: Install tools run: make install-format-go - name: Formatting check diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index 9a0602d2..f10574b0 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -14,7 +14,7 @@ jobs: - name: Set up Go uses: actions/setup-go@v5 with: - go-version: 1.22 + go-version: 1.23 - name: Install tools run: make install-lint-go - name: Run golangci-lint diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 14514aa5..dbb023d4 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -11,7 +11,7 @@ jobs: nvim: strategy: matrix: - version: [stable] # TODO: add nightly back when fixed + version: [stable] # TODO: add nightly back when fixed runs-on: ubuntu-latest steps: - name: Checkout @@ -38,6 +38,6 @@ jobs: - name: Set up Go uses: actions/setup-go@v5 with: - go-version: 1.22 + go-version: 1.23 - name: Run tests run: make test-go diff --git a/.github/workflows/vuln.yml b/.github/workflows/vuln.yml index f4ac4cd3..1f95634e 100644 --- a/.github/workflows/vuln.yml +++ b/.github/workflows/vuln.yml @@ -16,7 +16,7 @@ jobs: - name: Set up Go uses: actions/setup-go@v5 with: - go-version: 1.22 + go-version: 1.23 - name: Install tools run: make install-vuln-go - name: Run vulnerability check diff --git a/tests/go/go.mod b/tests/go/go.mod index e517f0f8..e043eabb 100644 --- a/tests/go/go.mod +++ b/tests/go/go.mod @@ -1,6 +1,6 @@ module github.com/fredrikaverpil/neotest-golang -go 1.22.2 +go 1.23.1 require github.com/stretchr/testify v1.9.0 diff --git a/tests/unit/golist_spec.lua b/tests/unit/golist_spec.lua index a7572cbd..70d5934b 100644 --- a/tests/unit/golist_spec.lua +++ b/tests/unit/golist_spec.lua @@ -63,7 +63,7 @@ describe("go list output", function() Module = { Dir = tests_filepath, GoMod = tests_filepath .. "/go.mod", - GoVersion = "1.22.2", + GoVersion = "1.23.1", Main = true, Path = "github.com/fredrikaverpil/neotest-golang", }, diff --git a/tests/unit/json_spec.lua b/tests/unit/json_spec.lua index 11f61d50..aaf3b742 100644 --- a/tests/unit/json_spec.lua +++ b/tests/unit/json_spec.lua @@ -58,7 +58,7 @@ describe("Go list", function() "Main": true, "Dir": "/Users/fredrik/code/public/neotest-golang/tests/go", "GoMod": "/Users/fredrik/code/public/neotest-golang/tests/go/go.mod", - "GoVersion": "1.22.2" + "GoVersion": "1.23.1" } } ]] @@ -71,7 +71,7 @@ describe("Go list", function() Main = true, Dir = "/Users/fredrik/code/public/neotest-golang/tests/go", GoMod = "/Users/fredrik/code/public/neotest-golang/tests/go/go.mod", - GoVersion = "1.22.2", + GoVersion = "1.23.1", }, }, }