chore: upgrade Go version and dependencies in project

- Remove Go 1.21 from the lint workflow
- Update Go version to 1.22 in go.mod
- Upgrade dependencies: `godotenv` to v1.5.1, `testify` to v1.9.0, `cli` to v1.22.15
- Add new indirect dependencies: `go-md2man/v2`, `go-spew`, `go-difflib`, `blackfriday/v2`, `yaml.v3`

Signed-off-by: appleboy <appleboy.tw@gmail.com>
This commit is contained in:
appleboy
2024-10-04 15:22:51 +08:00
parent 4f822500f2
commit 0326a42ccb
3 changed files with 37 additions and 21 deletions
+1 -1
View File
@@ -29,7 +29,7 @@ jobs:
strategy:
matrix:
os: [ubuntu-latest, macos-latest]
go: [1.21, 1.22, 1.23]
go: [1.22, 1.23]
include:
- os: ubuntu-latest
go-build: ~/.cache/go-build