fix: nil pointer & improve import message & bump loftctl & fix nested vclusters #1431
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: | |
release: | |
types: [created] | |
pull_request: | |
branches: | |
- main | |
paths: | |
- "**.go" | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }} | |
cancel-in-progress: true | |
jobs: | |
golangci: | |
name: lint | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/setup-go@v4 | |
with: | |
go-version: "1.21" | |
cache: false | |
- uses: actions/checkout@v4 | |
- name: Generate Embedded Helm Charts | |
run: | | |
go generate ./... | |
- name: Run golangci-lint | |
uses: golangci/golangci-lint-action@v3 | |
with: | |
args: -v --config=.golangci.yml |