Skip to content

Commit 9bc457f

Browse files
authored
Upgrade to Go 1.22 (#60)
1 parent 909ac9c commit 9bc457f

File tree

5 files changed

+7
-5
lines changed

5 files changed

+7
-5
lines changed

.github/workflows/lint.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ on:
77
branches: [main]
88

99
env:
10-
GOLANGCI_LINT_VERSION: v1.55.2
10+
GOLANGCI_LINT_VERSION: v1.57.2
1111

1212
jobs:
1313
lint:

.github/workflows/security.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,5 +17,5 @@ jobs:
1717
- name: govulncheck
1818
uses: golang/govulncheck-action@v1
1919
with:
20-
go-version-input: 1.21.8
20+
go-version-input: 1.22.1
2121
go-package: ./...

.golangci.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,9 @@ linters-settings:
3434
gofumpt:
3535
extra-rules: true
3636
govet:
37-
check-shadowing: true
37+
enable-all: true
38+
disable:
39+
- fieldalignment
3840
lll:
3941
line-length: 140
4042
misspell:

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ Check out this informative blog post on how to import GitLab commits at https://
99

1010
# Getting Started
1111

12-
1. Download and install [Go 1.21](https://go.dev/dl/).
12+
1. Download and install [Go 1.22](https://go.dev/dl/).
1313
2. Install the program by running the command in a shell:
1414
```shell
1515
go install github.com/alexandear/import-gitlab-commits@latest

go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
module github.com/alexandear/import-gitlab-commits
22

3-
go 1.21.8
3+
go 1.22.1
44

55
require (
66
github.com/go-git/go-git/v5 v5.11.0

0 commit comments

Comments
 (0)