Bump chart versions [nobump] #1019
This file contains hidden or 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: | |
push: | |
tags: | |
- v* | |
branches: | |
- main | |
pull_request: | |
types: [ opened, synchronize, reopened ] | |
permissions: | |
contents: read | |
# Optional: allow read access to pull request. Use with `only-new-issues` option. | |
# pull-requests: read | |
jobs: | |
golangci: | |
name: golangci | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v4 | |
- name: Setup go | |
uses: actions/setup-go@v5 | |
with: | |
go-version: 1.24.2 | |
cache-dependency-path: tests/go.sum | |
- name: go vet | |
run: go vet ./... | |
working-directory: tests | |
- name: staticcheck | |
uses: dominikh/staticcheck-action@v1.3.1 | |
with: | |
version: latest | |
install-go: false | |
working-directory: tests | |
- name: golangci-lint | |
uses: golangci/golangci-lint-action@v8 | |
with: | |
version: v2.1.0 | |
working-directory: tests | |
args: --timeout 4m | |
markdownlint: | |
name: Check for Markdown errors | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
# Tip: run the markdown lint action locally with '--fix' to automatically fix some of the issues: | |
# docker run -v $PWD:/workdir ghcr.io/igorshubovych/markdownlint-cli:latest "**/*.md" --fix | |
- uses: articulate/actions-markdownlint@v1 | |
with: | |
config: .markdownlint.json | |
files: '**/*.md' |