diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index 5389c3e..50535fb 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -1,25 +1,16 @@ name: Lint on: - push: - tags: - - v* - branches: - - main pull_request: -permissions: - contents: read - pull-requests: read - jobs: golangci: - name: lint + name: golangci‑lint runs-on: ubuntu-latest steps: - uses: actions/setup-go@v5 with: - go-version: '1.19' + go-version: '1.23' - uses: actions/checkout@v4 - name: golangci-lint uses: golangci/golangci-lint-action@v8 @@ -39,4 +30,4 @@ jobs: # skip-pkg-cache: true # Optional: if set to true then the action don't cache or restore ~/.cache/go-build. - # skip-build-cache: true \ No newline at end of file + # skip-build-cache: true