test: added suppport for version specific actions e2e test #8473
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: Lint | |
on: | |
push: | |
branches: | |
- main | |
- release/** | |
- feat/* | |
pull_request: | |
merge_group: | |
permissions: | |
contents: read | |
jobs: | |
golangci: | |
name: golangci-lint | |
runs-on: Gaia-Runner-medium | |
steps: | |
- uses: actions/setup-go@v5 | |
with: | |
go-version: '1.22' | |
- uses: technote-space/[email protected] | |
id: git_diff | |
with: | |
PATTERNS: | | |
**/*.go | |
go.mod | |
go.sum | |
**/go.mod | |
**/go.sum | |
- uses: actions/checkout@v4 | |
- name: run linting | |
if: env.GIT_DIFF | |
run: | | |
make lint | |