Skip to content

Commit

Permalink
Merge pull request #1011 from anthonydahanne/fix-996-go-1.18
Browse files Browse the repository at this point in the history
Close #996: Bump to Go 1.18
  • Loading branch information
dmikusa authored Feb 14, 2023
2 parents a1745af + 3a92bf9 commit 5f4177c
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
8 changes: 8 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -686,6 +686,14 @@ The YourKit Dependency watches the [YourKit Download Page](https://www.yourkit.c
uses: docker://ghcr.io/paketo-buildpacks/actions/yourkit-dependency:main
```

## Updating Go version

When it is time to update the Go version in the project, you should make sure that the Go version is the same across the different tools in this repository.

Most importantly, the Go version must be bumped in [Octo](octo/octo.go#L33) and in the [actions Dockerfile](actions/Dockerfile#L1) at the same time.

The Go version is also in [the different workflows](.github/workflows), however, this will be updated automatically by `octo`. You can run `octo` locally or submit a PR, and when the PR is merged CI will run `octo` and in turn submit another PR that updates the Go version.

## License
This library is released under version 2.0 of the [Apache License][a].

Expand Down
2 changes: 1 addition & 1 deletion actions/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM golang:1.17 as build-stage
FROM golang:1.18 as build-stage

RUN apt-get update && apt-get install -y --no-install-recommends upx

Expand Down

0 comments on commit 5f4177c

Please sign in to comment.