2 files changed,
12 insertions(+),
17 deletions(-)
Author:
Smirnov Oleksandr
ss2316544@gmail.com
Committed by:
GitHub
noreply@github.com
Committed at:
2024-10-17 23:06:52 +0300
Parent:
3208f70
M
.github/workflows/golang.yml
··· 3 3 on: 4 4 push: 5 5 branches: [main] 6 + paths: &go_files ["*.go", "go.mod", "go.sum"] 6 7 pull_request: 8 + paths: *go_files 7 9 8 10 jobs: 9 11 release: ··· 25 27 26 28 - name: e2e tests 27 29 run: go test -v ./e2e/ 30 + 31 + lint: 32 + runs-on: ubuntu-latest 33 + steps: 34 + - uses: actions/checkout@v4 35 + - name: Golangci Lint 36 + uses: golangci/golangci-lint-action@v6 37 + with: 38 + version: latest 39 + args: ./...
D
.github/workflows/linter.yml
··· 1 -name: linter 2 - 3 -on: 4 - push: 5 - pull_request: 6 - 7 -jobs: 8 - golang: 9 - runs-on: ubuntu-latest 10 - steps: 11 - - uses: actions/checkout@v4 12 - 13 - - name: Golangci Lint 14 - uses: golangci/golangci-lint-action@v6 15 - with: 16 - version: latest 17 - args: ./...