Skip to content

Commit 0b46c1c

Browse files
committed
Update GitHub actions to latest versions
Update: * actions/checkout@v2 -> v3 * docker/login-action@v1 -> v2 * docker/build-push-action@v2 -> v3 This is required to remove warnings around * usage of save-state and set-output * usage of Node.js 12 actions Signed-off-by: Angel Misevski <[email protected]>
1 parent a02b661 commit 0b46c1c

File tree

4 files changed

+11
-11
lines changed

4 files changed

+11
-11
lines changed

.github/workflows/code-coverage.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ jobs:
2222
python-version: 3.8
2323
-
2424
name: Check out code into the Go module directory
25-
uses: actions/checkout@v2
25+
uses: actions/checkout@v3
2626
-
2727
name: Cache go modules
2828
id: cache-mod

.github/workflows/next-build.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -32,21 +32,21 @@ jobs:
3232

3333
steps:
3434
- name: Checkout devworkspace-operator source code
35-
uses: actions/checkout@v2
35+
uses: actions/checkout@v3
3636

3737
- name: Set output for Git short SHA
3838
id: git-sha
3939
run: echo "sha=$(git rev-parse --short HEAD)" >> $GITHUB_OUTPUT
4040

4141
- name: Login to quay.io
42-
uses: docker/login-action@v1
42+
uses: docker/login-action@v2
4343
with:
4444
username: ${{ secrets.QUAY_USERNAME }}
4545
password: ${{ secrets.QUAY_PASSWORD }}
4646
registry: quay.io
4747

4848
- name: Build and push
49-
uses: docker/build-push-action@v2
49+
uses: docker/build-push-action@v3
5050
with:
5151
context: .
5252
push: true
@@ -56,7 +56,7 @@ jobs:
5656
file: ./build/Dockerfile
5757

5858
- name: Build and push
59-
uses: docker/build-push-action@v2
59+
uses: docker/build-push-action@v3
6060
with:
6161
context: .
6262
push: true
@@ -118,10 +118,10 @@ jobs:
118118
echo "$HOME/bin" >> $GITHUB_PATH
119119
120120
- name: Checkout devworkspace-operator source code
121-
uses: actions/checkout@v2
121+
uses: actions/checkout@v3
122122

123123
- name: Login to quay.io
124-
uses: docker/login-action@v1
124+
uses: docker/login-action@v2
125125
with:
126126
username: ${{ secrets.QUAY_USERNAME }}
127127
password: ${{ secrets.QUAY_PASSWORD }}

.github/workflows/pr.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ jobs:
2323
python-version: 3.8
2424
-
2525
name: Check out code into the Go module directory
26-
uses: actions/checkout@v2
26+
uses: actions/checkout@v3
2727

2828
-
2929
name: Cache Operator SDK ${{ env.OPERATOR_SDK_VERSION }}
@@ -125,7 +125,7 @@ jobs:
125125
steps:
126126
-
127127
name: Check out code into the Go module directory
128-
uses: actions/checkout@v2
128+
uses: actions/checkout@v3
129129
-
130130
name: Check if dockerimage build is working
131131
run: docker build -f ./build/Dockerfile .

.github/workflows/release.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ jobs:
3131
go-version: 1.18.4
3232

3333
- name: Clone source code
34-
uses: actions/checkout@v2
34+
uses: actions/checkout@v3
3535
with:
3636
fetch-depth: 0
3737

@@ -94,7 +94,7 @@ jobs:
9494
echo "$HOME/bin" >> $GITHUB_PATH
9595
9696
- name: Login to quay.io
97-
uses: docker/login-action@v1
97+
uses: docker/login-action@v2
9898
with:
9999
username: ${{ secrets.QUAY_USERNAME }}
100100
password: ${{ secrets.QUAY_PASSWORD }}

0 commit comments

Comments
 (0)