ci: upgrade go and golangci-lint ver (#685)

This commit is contained in:
Shane-XB-Qian 2025-02-12 22:11:44 +08:00 committed by GitHub
commit 546b6287d8
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 2 additions and 4 deletions

View file

@ -10,7 +10,7 @@ jobs:
steps:
- uses: actions/checkout@v4
- name: golangci-lint
uses: golangci/golangci-lint-action@v6
uses: golangci/golangci-lint-action@v6.3.2
with:
# Optional: golangci-lint command line arguments.
args: --issues-exit-code=0

View file

@ -16,7 +16,6 @@ linters:
enable:
- bodyclose
- dupl
- exportloopref
- goconst
- godot
- godox
@ -24,7 +23,6 @@ linters:
- goimports
- goprintffuncname
- gosec
# - ifshort
- misspell
- prealloc
- revive

2
go.mod
View file

@ -1,6 +1,6 @@
module github.com/charmbracelet/glow/v2
go 1.21.4
go 1.23.6
require (
github.com/atotto/clipboard v0.1.4