Skip to content

Commit b35af76

Browse files
chore(github-actions): bump up github action workflow step dependencies (#173)
* chore(github-actions): bump up github action workflow step dependency Signed-off-by: Abhinandan Purkait <purkaitabhinandan@gmail.com> * chore(code formatting): format the code with 1.19 version Signed-off-by: Abhinandan Purkait <purkaitabhinandan@gmail.com> --------- Signed-off-by: Abhinandan Purkait <purkaitabhinandan@gmail.com>
1 parent b70c64c commit b35af76

File tree

19 files changed

+322
-223
lines changed

19 files changed

+322
-223
lines changed

.github/workflows/build.yml

Lines changed: 27 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ jobs:
3333
runs-on: ubuntu-latest
3434
steps:
3535
- name: Checkout
36-
uses: actions/checkout@v3
36+
uses: actions/checkout@v4
3737

3838
- name: License Check
3939
run: make license-check
@@ -44,7 +44,7 @@ jobs:
4444
runs-on: ubuntu-latest
4545
steps:
4646
- name: Checkout
47-
uses: actions/checkout@v3
47+
uses: actions/checkout@v4
4848

4949
- name: Unit test
5050
run: make test
@@ -62,12 +62,12 @@ jobs:
6262
needs: ['lint', 'unit-test']
6363
steps:
6464
- name: Checkout
65-
uses: actions/checkout@v3
65+
uses: actions/checkout@v4
6666

67-
- name: Set up Go 1.15
68-
uses: actions/setup-go@v3
67+
- name: Set up Go 1.19
68+
uses: actions/setup-go@v4
6969
with:
70-
go-version: 1.15.15
70+
go-version: 1.19.13
7171

7272
- name: Build provisioner-nfs image
7373
run: make provisioner-nfs-image
@@ -80,11 +80,14 @@ jobs:
8080
sudo apt-get update && sudo apt-get install -y nfs-common
8181
8282
- name: Setup Minikube-Kubernetes
83-
uses: manusa/actions-setup-minikube@v2.7.2
83+
uses: medyagh/setup-minikube@latest
8484
with:
85-
minikube version: v1.29.0
86-
kubernetes version: v1.23.16
87-
start args: '--install-addons=false'
85+
cache: false
86+
minikube-version: 1.31.1
87+
driver: none
88+
kubernetes-version: ${{ matrix.kubernetes }}
89+
cni: calico
90+
start-args: '--install-addons=false'
8891

8992
- name: Installation
9093
run: |
@@ -99,12 +102,12 @@ jobs:
99102
needs: ['lint', 'unit-test']
100103
steps:
101104
- name: Checkout
102-
uses: actions/checkout@v3
105+
uses: actions/checkout@v4
103106

104-
- name: Set up Go 1.15
107+
- name: Set up Go 1.19
105108
uses: actions/setup-go@v3
106109
with:
107-
go-version: 1.15.15
110+
go-version: 1.19.13
108111

109112
- name: Set Image Org
110113
# sets the default IMAGE_ORG to openebs
@@ -124,21 +127,20 @@ jobs:
124127
- name: Set Build Date
125128
id: date
126129
run: |
127-
echo "::set-output name=DATE::$(date -u +'%Y-%m-%dT%H:%M:%S%Z')"
130+
echo "DATE=$(date -u +'%Y-%m-%dT%H:%M:%S%Z')" >> $GITHUB_OUTPUT
128131
129132
- name: Docker meta
130133
id: docker_meta
131-
uses: crazy-max/ghaction-docker-meta@v1
134+
uses: docker/metadata-action@v4
132135
with:
133136
# add each registry to which the image needs to be pushed here
134137
images: |
135138
${{ env.IMAGE_ORG }}/provisioner-nfs
136139
quay.io/${{ env.IMAGE_ORG }}/provisioner-nfs
137140
ghcr.io/${{ env.IMAGE_ORG }}/provisioner-nfs
138-
tag-latest: false
139-
tag-custom-only: true
140-
tag-custom: |
141-
${{ env.TAG }}
141+
tags: |
142+
type=raw,value=latest,enable=false
143+
type=raw,value=${{ env.TAG }}
142144
143145
- name: Print Tags
144146
run: |
@@ -194,7 +196,7 @@ jobs:
194196
needs: ['lint', 'unit-test']
195197
steps:
196198
- name: Checkout
197-
uses: actions/checkout@v3
199+
uses: actions/checkout@v4
198200

199201
- name: Set Image Org
200202
# sets the default IMAGE_ORG to openebs
@@ -213,17 +215,16 @@ jobs:
213215
214216
- name: Docker meta
215217
id: docker_meta
216-
uses: crazy-max/ghaction-docker-meta@v1
218+
uses: docker/metadata-action@v4
217219
with:
218220
# add each registry to which the image needs to be pushed here
219221
images: |
220222
${{ env.IMAGE_ORG }}/nfs-server-alpine
221223
quay.io/${{ env.IMAGE_ORG }}/nfs-server-alpine
222224
ghcr.io/${{ env.IMAGE_ORG }}/nfs-server-alpine
223-
tag-latest: false
224-
tag-custom-only: true
225-
tag-custom: |
226-
${{ env.TAG }}
225+
tags: |
226+
type=raw,value=latest,enable=false
227+
type=raw,value=${{ env.TAG }}
227228
228229
- name: Print Tags
229230
run: |
@@ -274,7 +275,7 @@ jobs:
274275
runs-on: ubuntu-latest
275276
steps:
276277
- name: Checkout
277-
uses: actions/checkout@v3
278+
uses: actions/checkout@v4
278279

279280
- name: Set Image Org
280281
# sets the default IMAGE_ORG to openebs

.github/workflows/chart-lint-test.yml

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -17,21 +17,22 @@ jobs:
1717
runs-on: ubuntu-latest
1818
steps:
1919
- name: Checkout
20-
uses: actions/checkout@v3
20+
uses: actions/checkout@v4
2121
with:
2222
fetch-depth: 0
2323

2424
- name: Set up Helm
25-
uses: azure/setup-helm@v1
25+
uses: azure/setup-helm@v3
2626
with:
27-
version: v3.5.0
27+
version: v3.12.1
2828

29-
- uses: actions/setup-python@v2
29+
- uses: actions/setup-python@v4
3030
with:
31-
python-version: 3.7
31+
python-version: '3.10'
32+
check-latest: true
3233

3334
- name: Set up chart-testing
34-
uses: helm/chart-testing-action@v2.0.1
35+
uses: helm/chart-testing-action@v2.6.0
3536

3637
- name: Run chart-testing (list-changed)
3738
id: list-changed
@@ -45,7 +46,7 @@ jobs:
4546
run: ct lint --config ct.yml
4647

4748
- name: Create kind cluster
48-
uses: helm/kind-action@v1.2.0
49+
uses: helm/kind-action@v1.8.0
4950
if: steps.list-changed.outputs.changed == 'true'
5051

5152
- name: Run chart-testing (install)

.github/workflows/pull_request.yml

Lines changed: 17 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ jobs:
3232
runs-on: ubuntu-latest
3333
steps:
3434
- name: Checkout
35-
uses: actions/checkout@v3
35+
uses: actions/checkout@v4
3636

3737
- name: License Check
3838
run: make license-check
@@ -41,7 +41,7 @@ jobs:
4141
runs-on: ubuntu-latest
4242
steps:
4343
- name: Checkout
44-
uses: actions/checkout@v3
44+
uses: actions/checkout@v4
4545

4646
- name: Unit test
4747
run: make test
@@ -59,12 +59,12 @@ jobs:
5959
needs: ['lint', 'unit-test']
6060
steps:
6161
- name: Checkout
62-
uses: actions/checkout@v3
62+
uses: actions/checkout@v4
6363

64-
- name: Set up Go 1.15
64+
- name: Set up Go 1.19
6565
uses: actions/setup-go@v3
6666
with:
67-
go-version: 1.15.15
67+
go-version: 1.19.13
6868

6969
- name: Build provisioner-nfs image
7070
run: make provisioner-nfs-image
@@ -77,11 +77,14 @@ jobs:
7777
sudo apt-get update && sudo apt-get install -y nfs-common
7878
7979
- name: Setup Minikube-Kubernetes
80-
uses: manusa/actions-setup-minikube@v2.7.2
80+
uses: medyagh/setup-minikube@latest
8181
with:
82-
minikube version: v1.29.0
83-
kubernetes version: v1.23.16
84-
start args: '--install-addons=false'
82+
cache: false
83+
minikube-version: 1.31.1
84+
driver: none
85+
kubernetes-version: ${{ matrix.kubernetes }}
86+
cni: calico
87+
start-args: '--install-addons=false'
8588

8689
- name: Installation
8790
run: |
@@ -96,12 +99,12 @@ jobs:
9699
needs: ['lint', 'unit-test']
97100
steps:
98101
- name: Checkout
99-
uses: actions/checkout@v3
102+
uses: actions/checkout@v4
100103

101-
- name: Set up Go 1.15
104+
- name: Set up Go 1.19
102105
uses: actions/setup-go@v3
103106
with:
104-
go-version: 1.15.15
107+
go-version: 1.19.13
105108

106109
- name: Setup QEMU
107110
uses: docker/setup-qemu-action@v2
@@ -129,7 +132,7 @@ jobs:
129132
needs: ['lint', 'unit-test']
130133
steps:
131134
- name: Checkout
132-
uses: actions/checkout@v3
135+
uses: actions/checkout@v4
133136

134137
- name: Setup QEMU
135138
uses: docker/setup-qemu-action@v2
@@ -156,7 +159,7 @@ jobs:
156159
runs-on: ubuntu-latest
157160
steps:
158161
- name: Checkout
159-
uses: actions/checkout@v3
162+
uses: actions/checkout@v4
160163

161164
- name: Build the nfs-e2e image
162165
uses: docker/build-push-action@v4

.github/workflows/release-charts.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ jobs:
1212
runs-on: ubuntu-latest
1313
steps:
1414
- name: Checkout
15-
uses: actions/checkout@v3
15+
uses: actions/checkout@v4
1616
with:
1717
fetch-depth: 0
1818

@@ -22,12 +22,12 @@ jobs:
2222
git config user.email "$GITHUB_ACTOR@users.noreply.github.com"
2323
2424
- name: Install Helm
25-
uses: azure/setup-helm@v1
25+
uses: azure/setup-helm@v3
2626
with:
27-
version: v3.5.0
27+
version: v3.12.1
2828

2929
- name: Run chart-releaser
30-
uses: helm/chart-releaser-action@v1.2.1
30+
uses: helm/chart-releaser-action@v1.6.0
3131
env:
3232
CR_TOKEN: "${{ secrets.CR_TOKEN }}"
3333
with:

.github/workflows/release.yml

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ jobs:
2525
runs-on: ubuntu-latest
2626
steps:
2727
- name: Checkout
28-
uses: actions/checkout@v3
28+
uses: actions/checkout@v4
2929

3030
- name: Set Image Org
3131
# sets the default IMAGE_ORG to openebs
@@ -41,20 +41,20 @@ jobs:
4141
- name: Set Build Date
4242
id: date
4343
run: |
44-
echo "::set-output name=DATE::$(date -u +'%Y-%m-%dT%H:%M:%S%Z')"
44+
echo "DATE=$(date -u +'%Y-%m-%dT%H:%M:%S%Z')" >> $GITHUB_OUTPUT
4545
4646
- name: Docker meta
4747
id: docker_meta
48-
uses: crazy-max/ghaction-docker-meta@v1
48+
uses: docker/metadata-action@v4
4949
with:
5050
# add each registry to which the image needs to be pushed here
5151
images: |
5252
${{ env.IMAGE_ORG }}/provisioner-nfs
5353
quay.io/${{ env.IMAGE_ORG }}/provisioner-nfs
5454
ghcr.io/${{ env.IMAGE_ORG }}/provisioner-nfs
55-
tag-latest: true
56-
tag-semver: |
57-
{{version}}
55+
tags: |
56+
type=raw,value=latest,enable=true
57+
type=raw,value={{version}}
5858
5959
- name: Print Tags
6060
run: |
@@ -112,7 +112,7 @@ jobs:
112112
runs-on: ubuntu-latest
113113
steps:
114114
- name: Checkout
115-
uses: actions/checkout@v3
115+
uses: actions/checkout@v4
116116

117117
- name: Set Image Org
118118
# sets the default IMAGE_ORG to openebs
@@ -128,7 +128,7 @@ jobs:
128128
- name: Set Build Date
129129
id: date
130130
run: |
131-
echo "::set-output name=DATE::$(date -u +'%Y-%m-%dT%H:%M:%S%Z')"
131+
echo "DATE=$(date -u +'%Y-%m-%dT%H:%M:%S%Z')" >> $GITHUB_OUTPUT
132132
133133
- name: Docker meta
134134
id: docker_meta

0 commit comments

Comments
 (0)