Skip to content

Commit 4944eaa

Browse files
committed
Upgrade golang 1.21
1 parent 1389bb9 commit 4944eaa

File tree

6 files changed

+10
-11
lines changed

6 files changed

+10
-11
lines changed

.github/workflows/release.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ jobs:
1919
- name: Set up Go
2020
uses: actions/setup-go@v5
2121
with:
22-
go-version: 1.18
22+
go-version: 1.21
2323

2424
- name: Draft release notes
2525
uses: release-drafter/[email protected]
@@ -30,7 +30,6 @@ jobs:
3030
uses: goreleaser/[email protected]
3131
with:
3232
distribution: goreleaser
33-
version: v1.26.2
3433
args: release --clean
3534
env:
3635
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

.github/workflows/tests.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ jobs:
1616
- name: Set up Go
1717
uses: actions/setup-go@v5
1818
with:
19-
go-version: 1.18
19+
go-version: 1.21
2020

2121
- name: Check out the repository
2222
uses: actions/checkout@v4
@@ -37,9 +37,9 @@ jobs:
3737
fail-fast: false
3838
matrix:
3939
include:
40-
- { go: "1.18", os: "ubuntu-latest" }
41-
- { go: "1.18", os: "macos-latest" }
42-
- { go: "1.18", os: "windows-latest" }
40+
- { go: "1.21", os: "ubuntu-latest" }
41+
- { go: "1.21", os: "macos-latest" }
42+
- { go: "1.21", os: "windows-latest" }
4343

4444
steps:
4545
- name: Check out the repository
@@ -67,7 +67,7 @@ jobs:
6767
- name: Set up Go
6868
uses: actions/setup-go@v5
6969
with:
70-
go-version: "1.18"
70+
go-version: "1.21"
7171

7272
- name: Run coverage
7373
run: go test ./... -failfast -race -coverprofile=coverage.out -covermode=atomic

.golangci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
22
run:
3-
go: "1.18"
3+
go: "1.21"
44
linters:
55
enable:
66
- thelper

CONTRIBUTING.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
Prerequisites:
88

99
- [Task](https://taskfile.dev/#/installation)
10-
- [Go 1.18+](https://golang.org/doc/install)
10+
- [Go 1.21+](https://golang.org/doc/install)
1111

1212
Clone `cleancontacts`:
1313

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ Export your contacts in VCard format and run the program. BANG! You have a new V
1010

1111
Download the relevant binary on Assets of latest [release](https://github.com/staticdev/cleancontacts/releases).
1212

13-
Alternatively, if you have golang 1.18+ installed:
13+
Alternatively, if you have golang 1.21+ installed:
1414

1515
```sh
1616
go install github.com/staticdev/cleancontacts

go.mod

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

3-
go 1.18
3+
go 1.21
44

55
require (
66
github.com/emersion/go-vcard v0.0.0-20210521075357-3445b9171995

0 commit comments

Comments
 (0)