This repository has been archived by the owner on Jun 6, 2024. It is now read-only.
fix: update name rule logic to ignore incorrect kinds #1798
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: golangci-lint | |
on: | |
pull_request: | |
jobs: | |
golangci: | |
name: go linters | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Setup Go environment | |
uses: actions/setup-go@v2.1.4 | |
with: | |
go-version: 1.19 | |
- name: golangci-lint | |
uses: golangci/golangci-lint-action@v2 | |
with: | |
version: v1.46.2 | |
# Optional: show only new issues if it's a pull request. The default value is `false`. | |
only-new-issues: true | |
# Optional: if set to true then the action will use pre-installed Go. | |
skip-go-installation: true |