File tree Expand file tree Collapse file tree 6 files changed +10
-11
lines changed Expand file tree Collapse file tree 6 files changed +10
-11
lines changed Original file line number Diff line number Diff line change 19
19
- name : Set up Go
20
20
uses : actions/setup-go@v5
21
21
with :
22
- go-version : 1.18
22
+ go-version : 1.21
23
23
24
24
- name : Draft release notes
25
25
uses :
release-drafter/[email protected]
30
30
uses :
goreleaser/[email protected]
31
31
with :
32
32
distribution : goreleaser
33
- version : v1.26.2
34
33
args : release --clean
35
34
env :
36
35
GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
Original file line number Diff line number Diff line change 16
16
- name : Set up Go
17
17
uses : actions/setup-go@v5
18
18
with :
19
- go-version : 1.18
19
+ go-version : 1.21
20
20
21
21
- name : Check out the repository
22
22
uses : actions/checkout@v4
37
37
fail-fast : false
38
38
matrix :
39
39
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" }
43
43
44
44
steps :
45
45
- name : Check out the repository
67
67
- name : Set up Go
68
68
uses : actions/setup-go@v5
69
69
with :
70
- go-version : " 1.18 "
70
+ go-version : " 1.21 "
71
71
72
72
- name : Run coverage
73
73
run : go test ./... -failfast -race -coverprofile=coverage.out -covermode=atomic
Original file line number Diff line number Diff line change 1
1
---
2
2
run :
3
- go : " 1.18 "
3
+ go : " 1.21 "
4
4
linters :
5
5
enable :
6
6
- thelper
Original file line number Diff line number Diff line change 7
7
Prerequisites:
8
8
9
9
- [ Task] ( https://taskfile.dev/#/installation )
10
- - [ Go 1.18 +] ( https://golang.org/doc/install )
10
+ - [ Go 1.21 +] ( https://golang.org/doc/install )
11
11
12
12
Clone ` cleancontacts ` :
13
13
Original file line number Diff line number Diff line change @@ -10,7 +10,7 @@ Export your contacts in VCard format and run the program. BANG! You have a new V
10
10
11
11
Download the relevant binary on Assets of latest [ release] ( https://github.com/staticdev/cleancontacts/releases ) .
12
12
13
- Alternatively, if you have golang 1.18 + installed:
13
+ Alternatively, if you have golang 1.21 + installed:
14
14
15
15
``` sh
16
16
go install github.com/staticdev/cleancontacts
Original file line number Diff line number Diff line change 1
1
module github.com/staticdev/cleancontacts
2
2
3
- go 1.18
3
+ go 1.21
4
4
5
5
require (
6
6
github.com/emersion/go-vcard v0.0.0-20210521075357-3445b9171995
You can’t perform that action at this time.
0 commit comments