From 7b320e71c9a08b0759937852a201f7dd806e718a Mon Sep 17 00:00:00 2001 From: Xun Jiang Date: Mon, 27 Jun 2022 14:44:05 +0800 Subject: [PATCH] Modify Github actions. 1. remove go.sum file from code spell check action. 2. change go version to 1.17 in CRD verify action, and add k8s 1.23 and 1.24 in verification list. Signed-off-by: Xun Jiang --- .github/workflows/crds-verify-kind.yaml | 6 ++++-- .github/workflows/pr-codespell.yml | 2 +- changelogs/unreleased/5052-jxun | 1 + 3 files changed, 6 insertions(+), 3 deletions(-) create mode 100644 changelogs/unreleased/5052-jxun diff --git a/.github/workflows/crds-verify-kind.yaml b/.github/workflows/crds-verify-kind.yaml index 45b6d71a9..398039f38 100644 --- a/.github/workflows/crds-verify-kind.yaml +++ b/.github/workflows/crds-verify-kind.yaml @@ -14,7 +14,7 @@ jobs: - name: Set up Go uses: actions/setup-go@v2 with: - go-version: 1.16 + go-version: 1.17 id: go # Look for a CLI that's made for this PR - name: Fetch built CLI @@ -64,6 +64,8 @@ jobs: - 1.20.2 - 1.21.1 - 1.22.0 + - 1.23.6 + - 1.24.2 # All steps run in parallel unless otherwise specified. # See https://docs.github.com/en/actions/learn-github-actions/managing-complex-workflows#creating-dependent-jobs steps: @@ -81,7 +83,7 @@ jobs: velero-${{ github.event.pull_request.number }}- - uses: engineerd/setup-kind@v0.5.0 with: - version: "v0.11.1" + version: "v0.14.0" image: "kindest/node:v${{ matrix.k8s }}" - name: Install CRDs run: | diff --git a/.github/workflows/pr-codespell.yml b/.github/workflows/pr-codespell.yml index 169535a07..22218f1f8 100644 --- a/.github/workflows/pr-codespell.yml +++ b/.github/workflows/pr-codespell.yml @@ -14,7 +14,7 @@ jobs: uses: codespell-project/actions-codespell@master with: # ignore the config/.../crd.go file as it's generated binary data that is edited elswhere. - skip: .git,*.png,*.jpg,*.woff,*.ttf,*.gif,*.ico,./config/crd/v1beta1/crds/crds.go,./config/crd/v1/crds/crds.go + skip: .git,*.png,*.jpg,*.woff,*.ttf,*.gif,*.ico,./config/crd/v1beta1/crds/crds.go,./config/crd/v1/crds/crds.go,./go.sum ignore_words_list: iam,aks,ist,bridget,ue check_filenames: true check_hidden: true diff --git a/changelogs/unreleased/5052-jxun b/changelogs/unreleased/5052-jxun new file mode 100644 index 000000000..8df837959 --- /dev/null +++ b/changelogs/unreleased/5052-jxun @@ -0,0 +1 @@ +Modify Github actions. \ No newline at end of file