Skip to content

Commit

Permalink
Close #996: Bump to Go 1.18
Browse files Browse the repository at this point in the history
* to allow actions requiring Go 1.18 to continue building
* update the documentation to indicate where to upgrade
  • Loading branch information
anthonydahanne committed Feb 13, 2023
1 parent a1745af commit 7c0f80d
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

Dependabot could suggest to bump the Go version in some places, but 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.

Also, it could be a good idea to sync the go version in [the different workflows](.github/workflows).

## 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 7c0f80d

Please sign in to comment.