feat: add e2e unittest framework #478
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Go | |
on: | |
push: | |
branches: "*" | |
pull_request: | |
branches: "*" | |
paths-ignore: | |
- 'docs/**' | |
- 'vendor/**' | |
- '*.md' | |
- '*.yml' | |
jobs: | |
build: | |
name: ubuntu - Go v1.19 | |
runs-on: ubuntu-latest | |
steps: | |
- name: Setup Go | |
uses: actions/setup-go@v4 | |
with: | |
go-version: '1.19' | |
cache: false | |
- name: Checkout | |
uses: actions/checkout@v3 | |
# This action uses its own setup-go, which always seems to use the latest | |
# stable version of Go. We could run 'make lint' to ensure our desired Go | |
# version, but we prefer this action because it leaves 'annotations' (i.e. | |
# it comments on PRs to point out linter violations). | |
- name: Lint | |
uses: golangci/golangci-lint-action@v3 | |
with: | |
version: 'v1.49' | |
args: --timeout=10m |