🌱 fix: e2e test: validate inputData during log postprocessing to avoid panic #4167
Workflow file for this run
This file contains hidden or 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: PR golangci-lint | |
| on: | |
| pull_request: | |
| types: [opened, edited, synchronize, reopened] | |
| # Remove all permissions from GITHUB_TOKEN except metadata. | |
| permissions: {} | |
| jobs: | |
| golangci: | |
| name: lint | |
| runs-on: ubuntu-latest | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| working-directory: | |
| - "" | |
| steps: | |
| - uses: actions/checkout@ff7abcd0c3c05ccf6adc123a8cd1fd4fb30fb493 # tag=v4.2.2 | |
| - name: Calculate go version | |
| id: vars | |
| run: echo "go_version=$(make go-version)" >> $GITHUB_OUTPUT | |
| - name: Set up Go | |
| uses: actions/setup-go@44694675825211faa026b3c33043df3e48a5fa00 # tag=v6.0.0 | |
| with: | |
| go-version: ${{ steps.vars.outputs.go_version }} | |
| - name: golangci-lint | |
| uses: golangci/golangci-lint-action@0a35821d5c230e903fcfe077583637dea1b27b47 # tag=v9.0.0 | |
| with: | |
| version: v2.1.0 | |
| working-directory: ${{matrix.working-directory}} | |
| - name: Lint API | |
| run: make lint-api |