Skip to content

Commit 8277863

Browse files
authored
Upgrade to Go 1.21 (#36)
1 parent 465212d commit 8277863

File tree

6 files changed

+6
-15
lines changed

6 files changed

+6
-15
lines changed

.github/workflows/build.yml

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -12,17 +12,13 @@ jobs:
1212
run:
1313
runs-on: ubuntu-latest
1414
timeout-minutes: 5
15-
strategy:
16-
fail-fast: true
17-
matrix:
18-
go: ['stable', 'oldstable']
1915

2016
steps:
2117
- uses: actions/checkout@v3
2218

2319
- uses: actions/setup-go@v4
2420
with:
25-
go-version: ${{ matrix.go }}
21+
go-version: 'stable'
2622
check-latest: true
2723

2824
- run: go mod tidy && git diff --exit-code

.github/workflows/lint.yml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,6 @@ jobs:
1313
lint:
1414
runs-on: ubuntu-latest
1515
timeout-minutes: 5
16-
strategy:
17-
fail-fast: true
1816

1917
steps:
2018
- uses: actions/checkout@v3

.github/workflows/test.yml

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -10,17 +10,13 @@ jobs:
1010
test:
1111
runs-on: ubuntu-latest
1212
timeout-minutes: 5
13-
strategy:
14-
fail-fast: true
15-
matrix:
16-
go: ['stable', 'oldstable']
1713

1814
steps:
1915
- uses: actions/checkout@v3
2016

2117
- uses: actions/setup-go@v4
2218
with:
23-
go-version: ${{ matrix.go }}
19+
go-version: 'stable'
2420
check-latest: true
2521

2622
- run: go test -v -count=1 -race -shuffle=on -cover ./...

README.md

Lines changed: 2 additions & 2 deletions
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.20](https://go.dev/dl/).
12+
1. Download and install [Go 1.21](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
@@ -59,4 +59,4 @@ To show the changes on GitHub you need to:
5959

6060

6161
## License
62-
[![FOSSA Status](https://app.fossa.com/api/projects/git%2Bgithub.com%2Falexandear%2Fimport-gitlab-commits.svg?type=large)](https://app.fossa.com/projects/git%2Bgithub.com%2Falexandear%2Fimport-gitlab-commits?ref=badge_large)
62+
[![FOSSA Status](https://app.fossa.com/api/projects/git%2Bgithub.com%2Falexandear%2Fimport-gitlab-commits.svg?type=large)](https://app.fossa.com/projects/git%2Bgithub.com%2Falexandear%2Fimport-gitlab-commits?ref=badge_large)

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.19
3+
go 1.21.4
44

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

go.sum

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -107,6 +107,7 @@ golang.org/x/sys v0.5.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
107107
golang.org/x/text v0.3.0/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ=
108108
golang.org/x/text v0.3.2/go.mod h1:bEr9sfX3Q8Zfm5fL9x+3itogRgK3+ptLWKqgva+5dAk=
109109
golang.org/x/text v0.7.0 h1:4BRB4x83lYWy72KwLD/qYDuTu7q9PjSagHvijDw7cLo=
110+
golang.org/x/text v0.7.0/go.mod h1:mrYo+phRRbMaCq/xk9113O4dZlRixOauAjOtrjsXDZ8=
110111
golang.org/x/time v0.0.0-20191024005414-555d28b269f0 h1:/5xXl8Y5W96D+TtHSlonuFqGHIWVuyCkGJLwGh9JJFs=
111112
golang.org/x/time v0.0.0-20191024005414-555d28b269f0/go.mod h1:tRJNPiyCQ0inRvYxbN9jk5I+vvW/OXSQhTDSoE431IQ=
112113
golang.org/x/tools v0.0.0-20180917221912-90fa682c2a6e/go.mod h1:n7NCudcB/nEzxVGmLbDWY5pfWTLqBcC2KZ6jyYvM4mQ=

0 commit comments

Comments
 (0)