Skip to content

Commit 96ce22d

Browse files
committed
Bump actions/checkout and actions/setup-go to v3.
v2 actions are deprecated and produce warnings due to outdated nodeJS verison.
1 parent 06ee5fe commit 96ce22d

File tree

5 files changed

+14
-14
lines changed

5 files changed

+14
-14
lines changed

.github/workflows/codeql-analysis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ jobs:
3535

3636
steps:
3737
- name: Checkout repository
38-
uses: actions/checkout@v2
38+
uses: actions/checkout@v3
3939

4040
# Initializes the CodeQL tools for scanning.
4141
- name: Initialize CodeQL

.github/workflows/operatorhub.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ jobs:
2121

2222

2323
# Initialize environment and install Carvel toolsuite
24-
- uses: actions/checkout@v2
24+
- uses: actions/checkout@v3
2525
- name: Initialize
2626
run: |
2727
RELEASE_VERSION=${GITHUB_REF#refs/*/}

.github/workflows/pr.yml

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -16,11 +16,11 @@ jobs:
1616
container: us.gcr.io/cf-rabbitmq-for-k8s-bunny/rabbitmq-for-kubernetes-ci
1717
steps:
1818
- name: Install Go
19-
uses: actions/setup-go@v2
19+
uses: actions/setup-go@v3
2020
with:
2121
go-version: ${{ env.GO_VERSION }}
2222
- name: Check out code into the Go module directory
23-
uses: actions/checkout@v2
23+
uses: actions/checkout@v3
2424
- name: Unit tests
2525
run: make unit-tests
2626
- name: Integration tests
@@ -31,11 +31,11 @@ jobs:
3131
runs-on: ubuntu-latest
3232
steps:
3333
- name: Install Go
34-
uses: actions/setup-go@v2
34+
uses: actions/setup-go@v3
3535
with:
3636
go-version: ${{ env.GO_VERSION }}
3737
- name: Check out code into the Go module directory
38-
uses: actions/checkout@v2
38+
uses: actions/checkout@v3
3939
- name: Dry run examples
4040
run: |
4141
export GOPATH=$HOME/go
@@ -63,11 +63,11 @@ jobs:
6363
- pivotalrabbitmq/rabbitmq:main-otp-max-bazel
6464
steps:
6565
- name: Install Go
66-
uses: actions/setup-go@v2
66+
uses: actions/setup-go@v3
6767
with:
6868
go-version: ${{ env.GO_VERSION }}
6969
- name: Check out code into the Go module directory
70-
uses: actions/checkout@v2
70+
uses: actions/checkout@v3
7171
- name: System tests
7272
env:
7373
K8S_VERSION: ${{ matrix.k8s }}
@@ -85,7 +85,7 @@ jobs:
8585
runs-on: ubuntu-latest
8686
steps:
8787
- name: Install Go
88-
uses: actions/setup-go@v2
88+
uses: actions/setup-go@v3
8989
with:
9090
go-version: ${{ env.GO_VERSION }}
9191
- name: Install Bats
@@ -94,7 +94,7 @@ jobs:
9494
cd "$HOME"/bats-core
9595
sudo ./install.sh /usr/local
9696
- name: Check out code into the Go module directory
97-
uses: actions/checkout@v2
97+
uses: actions/checkout@v3
9898
- name: kubectl rabbitmq tests
9999
run: |
100100
export GOPATH=$HOME/go

.github/workflows/prometheus-rules.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,10 +14,10 @@ jobs:
1414
runs-on: ubuntu-latest
1515
steps:
1616
- name: Install Go
17-
uses: actions/setup-go@v2
17+
uses: actions/setup-go@v3
1818
with:
1919
go-version: ${{ env.GO_VERSION }}
20-
- uses: actions/checkout@v2
20+
- uses: actions/checkout@v3
2121
- name: Create Prometheus rule file
2222
run: |
2323
make install-tools

.github/workflows/publish-versioned-api-ref.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,14 +12,14 @@ jobs:
1212

1313
steps:
1414
- name: Checkout operator codebase
15-
uses: actions/checkout@v2
15+
uses: actions/checkout@v3
1616
with:
1717
path: cluster-operator
1818
- name: Get the version
1919
id: get_version
2020
run: echo ::set-output name=VERSION::${GITHUB_REF/refs\/tags\//}
2121
- name: Checkout wiki codebase
22-
uses: actions/checkout@v2
22+
uses: actions/checkout@v3
2323
with:
2424
repository: ${{ github.repository }}.wiki
2525
path: wiki

0 commit comments

Comments
 (0)