From bc636263ffbc8108bd843587f2f962ad598c3ae6 Mon Sep 17 00:00:00 2001 From: llDrLove Date: Wed, 27 Sep 2023 10:19:04 -0400 Subject: [PATCH] Update README.md for the steps to update Go and dependencies (#164) Co-authored-by: Oliver Love --- README.md | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/README.md b/README.md index 5c6d8cce..2575431b 100644 --- a/README.md +++ b/README.md @@ -123,6 +123,20 @@ $ clusterlint --plugins=/path/to/plugin.so list $ clusterlint --plugins=/path/to/plugin.so run -c my-plugin-check ``` +## Update Go and dependencies +1. Update Go version in + 1. [go.mod](./go.mod) + 2. [.circleci/config.yml](./.circleci/config.yml) + 3. [.github/workflows/release.yml](./.github/workflows/release.yml) + 4. [Dockerfile](./Dockerfile) +2. Update Go dependencies + ```shell + go get -u ./... + go mod tidy + go mod vendor + ``` +3. Create and merge PR + ## Release To release a new version of clusterlint, go to the actions page on GitHub, click on `Run workflow`.