Skip to content

Commit bcfd605

Browse files
authored
task: update minumun go version and golangci version (#20)
1 parent 8b37b3e commit bcfd605

File tree

3 files changed

+6
-5
lines changed

3 files changed

+6
-5
lines changed

.github/workflows/pr.yml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,17 +19,16 @@ jobs:
1919
- name: lint
2020
uses: golangci/[email protected]
2121
with:
22-
version: v1.46.2
22+
version: v1.49.0
2323

2424
tests-on-unix:
2525
needs: golangci-lint # run after golangci-lint action to not produce duplicated errors
2626
runs-on: ubuntu-latest
2727
strategy:
2828
matrix:
2929
golang:
30-
- 1.16
31-
- 1.17
3230
- 1.18
31+
- 1.19
3332
steps:
3433
- name: Checkout repository
3534
uses: actions/checkout@v3

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# A Self-Documenting Makefile: http://marmelab.com/blog/2016/02/29/auto-documented-makefile.html
22

33
SOURCE_FILES?=./...
4-
GOLANGCI_VERSION=v1.46.2
4+
GOLANGCI_VERSION=v1.49.0
55
COVERAGE=coverage.out
66

77
export PATH := ./bin:$(PATH)

go.mod

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,10 @@
11
module github.com/mongodb-labs/cobra2snooty
22

3-
go 1.16
3+
go 1.18
44

55
require (
66
github.com/spf13/cobra v1.5.0
77
github.com/spf13/pflag v1.0.5
88
)
9+
10+
require github.com/inconshreveable/mousetrap v1.0.0 // indirect

0 commit comments

Comments
 (0)