Skip to content

Commit bc63626

Browse files
authored
Update README.md for the steps to update Go and dependencies (#164)
Co-authored-by: Oliver Love <olove@digitalocean.com>
1 parent 72dec35 commit bc63626

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

README.md

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -123,6 +123,20 @@ $ clusterlint --plugins=/path/to/plugin.so list
123123
$ clusterlint --plugins=/path/to/plugin.so run -c my-plugin-check
124124
```
125125

126+
## Update Go and dependencies
127+
1. Update Go version in
128+
1. [go.mod](./go.mod)
129+
2. [.circleci/config.yml](./.circleci/config.yml)
130+
3. [.github/workflows/release.yml](./.github/workflows/release.yml)
131+
4. [Dockerfile](./Dockerfile)
132+
2. Update Go dependencies
133+
```shell
134+
go get -u ./...
135+
go mod tidy
136+
go mod vendor
137+
```
138+
3. Create and merge PR
139+
126140
## Release
127141

128142
To release a new version of clusterlint, go to the actions page on GitHub, click on `Run workflow`.

0 commit comments

Comments
 (0)