feat: Konnector worker honors skip-maintenance-for (#4333) #1100
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 go | |
on: | |
push: | |
branches: | |
- master | |
paths: | |
- '.golangci.yaml' | |
- 'Makefile' | |
- '**.go' | |
pull_request: | |
paths: | |
- '.golangci.yaml' | |
- 'Makefile' | |
- '**.go' | |
permissions: | |
contents: read | |
jobs: | |
golangci: | |
name: lint | |
runs-on: ubuntu-22.04 | |
steps: | |
- uses: actions/setup-go@v5 | |
with: | |
go-version: '1.22' | |
- uses: actions/checkout@v4 | |
- name: golangci-lint | |
uses: golangci/golangci-lint-action@v4 | |
with: | |
# Optional: version of golangci-lint to use in form of v1.2 or v1.2.3 or `latest` to use the latest version | |
version: latest |