E2E Unit tests/Lint. #686
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: E2E Unit tests/Lint. | |
# This workflow runs when a PR is opened that targets code that is part of the e2e module. | |
on: | |
merge_group: | |
pull_request: | |
paths: | |
- '.github/workflows/e2emodule.yml' | |
- 'e2e/**' | |
permissions: | |
contents: read | |
pull-requests: read | |
jobs: | |
lint: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/setup-go@v5 | |
with: | |
go-version: '1.22' | |
cache-dependency-path: 'e2e/go.sum' | |
- uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 | |
- uses: golangci/[email protected] | |
with: | |
version: v1.57.2 | |
only-new-issues: true | |
args: --timeout 5m | |
working-directory: e2e/ | |
tests: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-go@v5 | |
with: | |
go-version: '1.22' | |
cache-dependency-path: 'e2e/go.sum' | |
- name: Go Test | |
run: | | |
cd e2e | |
go test -v -mod=readonly ./... -tags='test_e2e' |