Skip to content

Commit 745988a

Browse files
committed
Update minimum Go version to 1.21
Required by use of the slices package in test code
1 parent 6765cc6 commit 745988a

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

.github/workflows/go.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,13 +9,13 @@ jobs:
99
name: Verify
1010
runs-on: ubuntu-latest
1111
steps:
12-
- name: Set up Go 1.19
13-
uses: actions/setup-go@v3
12+
- name: Set up Go 1.21
13+
uses: actions/setup-go@v5
1414
with:
15-
go-version: 1.19
15+
go-version: 1.21
1616

1717
- name: Check out code into the Go module directory
18-
uses: actions/checkout@v2
18+
uses: actions/checkout@v4
1919

2020
- name: Lint
2121
uses: golangci/golangci-lint-action@v3

go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
module github.com/bluekeyes/go-gitdiff
22

3-
go 1.20
3+
go 1.21

0 commit comments

Comments
 (0)