diff --git a/.github/workflows/jsonnetfmt.yml b/.github/workflows/jsonnetfmt.yml index 9a2b741..f6634c3 100644 --- a/.github/workflows/jsonnetfmt.yml +++ b/.github/workflows/jsonnetfmt.yml @@ -11,7 +11,7 @@ jobs: - uses: actions/checkout@v2 - uses: actions/setup-go@v2 with: - go-version: 1.19 + go-version: 1.22 - name: Format run: | go install github.com/google/go-jsonnet/cmd/jsonnetfmt@latest diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index c5cb5db..650d61f 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -12,7 +12,7 @@ jobs: - uses: actions/checkout@v2 - uses: actions/setup-go@v2 with: - go-version: 1.19 + go-version: 1.22 - uses: goreleaser/goreleaser-action@v2 with: distribution: goreleaser diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 61c8d23..e60c473 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -11,6 +11,6 @@ jobs: - uses: actions/checkout@v2 - uses: actions/setup-go@v2 with: - go-version: '1.19' + go-version: 1.22 - run: go test ./... -bench=. -benchmem \ No newline at end of file diff --git a/go.mod b/go.mod index af84f23..079ff46 100644 --- a/go.mod +++ b/go.mod @@ -1,6 +1,6 @@ module github.com/grafana/jsonnet-language-server -go 1.19 +go 1.22 require ( github.com/JohannesKaufmann/html-to-markdown v1.5.0 diff --git a/go.sum b/go.sum index 11651a9..a38d81f 100644 --- a/go.sum +++ b/go.sum @@ -20,6 +20,7 @@ github.com/gobwas/glob v0.2.3 h1:A4xDbljILXROh+kObIiy5kIaPYD8e96x1tgBhUI5J+Y= github.com/gobwas/glob v0.2.3/go.mod h1:d3Ez4x06l9bZtSvzIay5+Yzi0fmZzPgnTbPcKjJAkT8= github.com/godbus/dbus/v5 v5.0.4/go.mod h1:xhWf0FNVPg57R7Z0UbKHbJfkEywrmjJnf7w5xrFpKfA= github.com/google/go-cmp v0.5.9 h1:O2Tfq5qg4qc4AmwVlvv0oLiVAGB7enBSJ2x2DqQFi38= +github.com/google/go-cmp v0.5.9/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= github.com/google/go-jsonnet v0.20.0 h1:WG4TTSARuV7bSm4PMB4ohjxe33IHT5WVTrJSU33uT4g= github.com/google/go-jsonnet v0.20.0/go.mod h1:VbgWF9JX7ztlv770x/TolZNGGFfiHEVx9G6ca2eUmeA= github.com/google/uuid v1.1.1/go.mod h1:TIyPZe4MgqvfeYDBFedMoGGpEw/LqOeaOT+nhxU+yHo= diff --git a/nix/shell.nix b/nix/shell.nix index afc349f..546f094 100644 --- a/nix/shell.nix +++ b/nix/shell.nix @@ -4,7 +4,7 @@ with pkgs; mkShell { buildInputs = [ gnused - go_1_19 + go_1_22 golangci-lint gopls jsonnet-language-server