Skip to content

Commit 80ea2b4

Browse files
committed
CLEANUP/MINOR: tests: use most recent bats in CI on github
1 parent c60fe70 commit 80ea2b4

File tree

1 file changed

+7
-3
lines changed

1 file changed

+7
-3
lines changed

.github/workflows/e2e.yml

+7-3
Original file line numberDiff line numberDiff line change
@@ -7,15 +7,19 @@ jobs:
77
matrix:
88
haproxy_version: ["2.1", "2.2", "2.3"]
99
runs-on: ubuntu-latest
10+
env:
11+
BATS_VERSION: v1.4.1
1012
steps:
1113
- name: Check out code into the Go module directory
1214
uses: actions/checkout@v2
1315
- name: Downloading required packages
14-
run: sudo apt-get install bats
15-
- name: Set up Go 1.16
16+
run: sudo apt-get install
17+
- name: Install bats
18+
run: git clone https://github.com/bats-core/bats-core.git && cd bats-core && git checkout $BATS_VERSION && sudo ./install.sh /usr/local && cd ..
19+
- name: Set up Go 1.17
1620
uses: actions/setup-go@v1
1721
with:
18-
go-version: 1.16
22+
go-version: 1.17
1923
- run: make e2e
2024
env:
2125
HAPROXY_VERSION: ${{ matrix.haproxy_version }}

0 commit comments

Comments
 (0)