22name : CI
33
44env :
5- VERSION_GO : ' 1.20.12'
6- VERSION_HELM : ' v3.13.3'
5+ VERSION_HELM : ' v3.11.3'
76
87on :
98 pull_request :
@@ -17,17 +16,10 @@ jobs:
1716 if : " !contains(github.event.head_commit.message, '[ci skip]')"
1817 runs-on : ubuntu-latest
1918 steps :
20- - uses : actions/checkout@v2
21- - uses : actions/setup-go@v2
19+ - uses : actions/checkout@v3
20+ - uses : actions/setup-go@v4
2221 with :
23- go-version : ${{ env.VERSION_GO }}
24-
25- - uses : actions/cache@v2
26- with :
27- path : ~/go/pkg/mod
28- key : ${{ runner.os }}-go-${{ hashFiles('**/go.sum') }}
29- restore-keys : |
30- ${{ runner.os }}-go-
22+ go-version-file : ' go.mod'
3123
3224 - name : Install dependencies
3325 run : make bootstrap
@@ -73,20 +65,20 @@ jobs:
7365 git config --global core.autocrlf false
7466 git config --global core.eol lf
7567
76- - uses : actions/checkout@v2
68+ - uses : actions/checkout@v3
7769
7870 - name : Setup Helm
79- uses : azure/setup-helm@v1.1
71+ uses : azure/setup-helm@v3
8072 with :
8173 version : ${{ env.VERSION_HELM }}
8274
8375 - name : Setup WSL
8476 if : " contains(matrix.shell, 'wsl')"
85- uses : Vampire/setup-wsl@v1
77+ uses : Vampire/setup-wsl@v2
8678
8779 - name : Setup Cygwin
8880 if : " contains(matrix.shell, 'cygwin')"
89- uses : egor-tensin/setup-cygwin@v3
81+ uses : egor-tensin/setup-cygwin@v4
9082 with :
9183 platform : x64
9284
@@ -103,10 +95,10 @@ jobs:
10395 with :
10496 version : " v0.11.1"
10597
106- - uses : actions/checkout@v2
98+ - uses : actions/checkout@v3
10799
108100 - name : Setup Helm
109- uses : azure/setup-helm@v1.1
101+ uses : azure/setup-helm@v3
110102 with :
111103 version : ${{ env.VERSION_HELM }}
112104
@@ -124,15 +116,3 @@ jobs:
124116
125117 - name : helm diff upgrade -C 3 --set replicaCount=2 --install helm-diff ./helm-diff
126118 run : helm diff upgrade -C 3 --set replicaCount=2 --install helm-diff ./helm-diff
127-
128- shell-lint :
129- name : Lint install-binary.sh
130- runs-on : ubuntu-latest
131- if : " !contains(github.event.head_commit.message, '[ci skip]')"
132- continue-on-error : true
133- steps :
134- 135- 136- with :
137- sh_checker_exclude : " scripts"
138- sh_checker_checkbashisms_enable : true
0 commit comments