diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 589f5afdf..47d2d9e96 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -112,7 +112,7 @@ jobs: - uses: actions/setup-go@v5 with: - go-version: '~1.21' + go-version: '~1.22' check-latest: true cache-dependency-path: ./${{ matrix.workingDir }}/go.sum if: ${{ matrix.hasBackend == true }} diff --git a/packages/create-plugin/templates/backend-app/go.mod b/packages/create-plugin/templates/backend-app/go.mod index 5f538de5a..165ee9981 100644 --- a/packages/create-plugin/templates/backend-app/go.mod +++ b/packages/create-plugin/templates/backend-app/go.mod @@ -1,6 +1,6 @@ module github.com/{{ kebabCase orgName }}/{{ kebabCase pluginName }} -go 1.21 +go 1.22 require github.com/grafana/grafana-plugin-sdk-go v0.156.0 diff --git a/packages/create-plugin/templates/backend/go.mod b/packages/create-plugin/templates/backend/go.mod index 375a8236a..746a684cb 100644 --- a/packages/create-plugin/templates/backend/go.mod +++ b/packages/create-plugin/templates/backend/go.mod @@ -1,6 +1,6 @@ module github.com/{{ kebabCase orgName }}/{{ kebabCase pluginName }} -go 1.21 +go 1.22 require github.com/grafana/grafana-plugin-sdk-go v0.156.0 diff --git a/packages/create-plugin/templates/github/workflows/ci.yml b/packages/create-plugin/templates/github/workflows/ci.yml index 8ea8ab711..95238054a 100644 --- a/packages/create-plugin/templates/github/workflows/ci.yml +++ b/packages/create-plugin/templates/github/workflows/ci.yml @@ -61,7 +61,7 @@ jobs: if: steps.check-for-backend.outputs.has-backend == 'true' uses: actions/setup-go@v5 with: - go-version: '1.21' + go-version: '1.22' - name: Test backend if: steps.check-for-backend.outputs.has-backend == 'true'