Version auto update #2023
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: Lint | |
on: | |
release: | |
types: [created] | |
pull_request: | |
branches: | |
- main | |
paths: | |
- "**.go" | |
- ".github/workflows/lint.yaml" | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }} | |
cancel-in-progress: true | |
jobs: | |
golangci: | |
name: lint | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v4 | |
- uses: actions/setup-go@v5 | |
with: | |
go-version-file: ./go.mod | |
cache: false | |
- name: Generate Embedded Helm Charts | |
run: | | |
go generate ./... | |
- name: Run golangci-lint | |
uses: golangci/golangci-lint-action@v3 |