fiber/.github/workflows/modernize.yml
dependabot[bot] 87b6e53dd9
build(deps): bump actions/checkout from 4 to 5 (#3681)
Bumps [actions/checkout](https://github.com/actions/checkout) from 4 to 5.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/checkout/compare/v4...v5)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-version: '5'
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-08-12 22:25:19 +02:00

35 lines
663 B
YAML

name: Modernize Lint
on:
push:
branches:
- master
- main
paths:
- "**.go"
- "!**/*_msgp*.go"
pull_request:
paths:
- "**.go"
- "!**/*_msgp*.go"
permissions:
contents: read
pull-requests: write
checks: write
jobs:
modernize:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v5
- uses: actions/setup-go@v5
with:
# NOTE: Keep this in sync with the version from go.mod
go-version: "1.24.x"
cache: false
- name: modernize
run: go run golang.org/x/tools/gopls/internal/analysis/modernize/cmd/modernize@latest -test=false ./...