Skip to content

Commit c9575cd

Browse files
authored
chore: instructions on how to update Go (#4878)
--- By submitting this pull request, I confirm that my contribution is made under the terms of the [Apache 2.0 license]. [Apache 2.0 license]: https://www.apache.org/licenses/LICENSE-2.0
1 parent 22ea500 commit c9575cd

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

docs/updating-go-version.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
# Updating the Go version in jsii
2+
3+
Each major Go release is supported until there are two newer major releases. When a Go release reaches it end of life,
4+
we should remove support for it in jsii. To do this, you have to:
5+
6+
- Update the baseline version of Go in `.github/workflows/main.yml`.
7+
- Update `packages/@jsii/go-runtime/jsii-runtime-go/go.mod`
8+
- Update the value of the `GO_VERSION` constant in `packages/jsii-pacmak/lib/targets/go/package.ts`. Don't forget to
9+
also update the `jsii-pacmak` jest snapshots.
10+
- Update `packages/@jsii/go-runtime-test/project/go.mod`.

0 commit comments

Comments
 (0)