chore(deps): bump the go group across 1 directory with 9 updates #6681
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 & Formatting | |
on: | |
pull_request: | |
branches: | |
- main | |
merge_group: | |
defaults: | |
run: | |
shell: bash | |
concurrency: | |
group: ${{ github.ref_name }}-lint-format | |
cancel-in-progress: true | |
permissions: | |
contents: read | |
jobs: | |
format: | |
name: Format | |
runs-on: ubuntu-24.04 | |
steps: | |
- name: Checkout Repository | |
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0 | |
- name: Setup Golang Environment | |
uses: actions/setup-go@44694675825211faa026b3c33043df3e48a5fa00 # v6.0.0 | |
with: | |
go-version-file: go.mod | |
- name: Run goimports & gofumpt | |
run: | | |
make format | |
git diff --exit-code | |
lint: | |
name: Lint | |
runs-on: ubuntu-24.04 | |
permissions: | |
contents: read | |
pull-requests: read # for golangci-lint-action | |
steps: | |
- name: Checkout Repository | |
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0 | |
- name: Setup Golang Environment | |
uses: actions/setup-go@44694675825211faa026b3c33043df3e48a5fa00 # v6.0.0 | |
with: | |
go-version-file: go.mod | |
- name: Lint Code | |
uses: golangci/golangci-lint-action@4afd733a84b1f43292c63897423277bb7f4313a9 # v8.0.0 | |
with: | |
only-new-issues: true | |
actionlint: | |
name: Actionlint | |
runs-on: ubuntu-24.04 | |
steps: | |
- name: Checkout Repository | |
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0 | |
- uses: reviewdog/action-actionlint@95395aac8c053577d0bc67eb7b74936c660c6f66 # v1.67.0 | |
with: | |
actionlint_flags: -shellcheck "" | |
chart-lint: | |
name: Chart Lint | |
runs-on: ubuntu-24.04 | |
steps: | |
- name: Checkout Repository | |
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0 | |
- name: Setup Helm | |
uses: azure/setup-helm@1a275c3b69536ee54be43f2070a358922e12c8d4 # v4.3.1 | |
with: | |
version: 'v3.18.6' | |
- name: Lint chart | |
run: helm lint charts/nginx-ingress | |
markdown-lint: | |
name: Markdown Lint | |
runs-on: ubuntu-24.04 | |
steps: | |
- name: Checkout Repository | |
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0 | |
- uses: DavidAnson/markdownlint-cli2-action@992badcdf24e3b8eb7e87ff9287fe931bcb00c6e # v20.0.0 | |
with: | |
config: .markdownlint-cli2.yaml | |
globs: "**/*.md" | |
fix: false |