mirror of
https://github.com/charmbracelet/glow.git
synced 2026-08-21 15:44:17 +02:00
ci: upgrade go and golangci-lint ver (#685)
This commit is contained in:
parent
f689c90084
commit
546b6287d8
3 changed files with 2 additions and 4 deletions
2
.github/workflows/lint.yml
vendored
2
.github/workflows/lint.yml
vendored
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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
2
go.mod
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue