Skip to content

Merge pull request #105 from balajz/dependabot/go_modules/charm.land/… #281

Merge pull request #105 from balajz/dependabot/go_modules/charm.land/…

Merge pull request #105 from balajz/dependabot/go_modules/charm.land/… #281

Workflow file for this run

name: lint
on:
push:
paths:
- 'go.mod'
- 'go.sum'
- 'internal/**'
- 'cmd/**'
pull_request:
paths:
- 'go.mod'
- 'go.sum'
- 'internal/**'
- 'cmd/**'
permissions:
contents: read
# Optional: allow read access to pull request. Use with `only-new-issues` option.
pull-requests: read
jobs:
golangci:
name: lint
runs-on: ubuntu-latest
steps:
- name: Install Go
uses: actions/setup-go@v6
with:
go-version: 1.26.4
- uses: actions/checkout@v5
- name: golangci-lint
uses: golangci/golangci-lint-action@v9
with:
# Optional: golangci-lint command line arguments.
#args:
# Optional: show only new issues if it's a pull request. The default value is `false`.
only-new-issues: true