Skip to content

Commit b10d99c

Browse files
committed
1 parent d2aa44d commit b10d99c

File tree

1 file changed

+16
-1
lines changed

1 file changed

+16
-1
lines changed

.github/workflows/pr.yml

Lines changed: 16 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,9 @@ on:
44
pull_request:
55
branches: [ main ]
66

7+
env:
8+
GO_VERSION: 1.16.x
9+
710
jobs:
811

912
unit_integration_tests:
@@ -24,6 +27,10 @@ jobs:
2427
name: test-all-examples
2528
runs-on: ubuntu-latest
2629
steps:
30+
- name: Install Go
31+
uses: actions/setup-go@v2
32+
with:
33+
go-version: ${{ env.GO_VERSION }}
2734
- name: Check out code into the Go module directory
2835
uses: actions/checkout@v2
2936
- name: Dry run examples
@@ -55,6 +62,10 @@ jobs:
5562
- pivotalrabbitmq/rabbitmq:master-otp-max
5663
- pivotalrabbitmq/rabbitmq:master-otp-max-1
5764
steps:
65+
- name: Install Go
66+
uses: actions/setup-go@v2
67+
with:
68+
go-version: ${{ env.GO_VERSION }}
5869
- name: Check out code into the Go module directory
5970
uses: actions/checkout@v2
6071
- name: System tests
@@ -73,6 +84,10 @@ jobs:
7384
name: kubectl rabbitmq tests
7485
runs-on: ubuntu-latest
7586
steps:
87+
- name: Install Go
88+
uses: actions/setup-go@v2
89+
with:
90+
go-version: ${{ env.GO_VERSION }}
7691
- name: Install Bats
7792
run: |
7893
git clone https://github.com/bats-core/bats-core.git "$HOME"/bats-core
@@ -82,7 +97,7 @@ jobs:
8297
uses: actions/checkout@v2
8398
- name: kubectl rabbitmq tests
8499
env:
85-
K8S_VERSION: v1.20.7
100+
K8S_VERSION: v1.21.1
86101
run: |
87102
export GOPATH=$HOME/go
88103
export PATH=$PATH:$GOPATH/bin

0 commit comments

Comments
 (0)