-
Notifications
You must be signed in to change notification settings - Fork 4
34 lines (34 loc) · 1012 Bytes
/
test.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
on: [pull_request]
name: Test
jobs:
linux:
runs-on: ubuntu-latest
steps:
- name: Setup golang
uses: actions/setup-go@v3
with:
go-version: 1.23.x
- name: Check out code
uses: actions/checkout@v3
- name: Install Requirements
run: |
GO111MODULES=off; go mod vendor
curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s -- -b $(go env GOPATH)/bin v1.60.3
- name: Setup SSH Key Build and run e2e
run : |
make e2e-build
make e2e-run
make install-shellcheck
shell: bash
env:
DOCKER_USERNAME: ${{ secrets.DOCKERHUB_USERNAME }}
DOCKER_PASSWORD: ${{ secrets.DOCKERHUB_PASSWORD }}
GIT_TOKEN: ${{secrets.GIT_TOKEN}}
GIT_USER: ${{secrets.GIT_USER}}
- name: Test e2e
run: |
make check
make e2e-test
- name: Clean e2e
run: |
make e2e-stop