Merge pull request #189 from dell/get_host_ip_bug #114
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: linters | |
on: | |
push: | |
branches: [main] | |
pull_request: | |
branches: ["**"] | |
permissions: | |
contents: read | |
jobs: | |
golangci-lint: | |
name: golangci-lint | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/setup-go@v5 | |
with: | |
go-version: "1.22" | |
cache: false | |
- name: Checkout the code | |
uses: actions/checkout@v4 | |
- name: Vendor packages | |
run: | | |
go mod vendor | |
- name: golangci-lint | |
uses: golangci/golangci-lint-action@v4 | |
with: | |
version: latest | |
skip-cache: true |