Skip to content

Commit e2c41cf

Browse files
committed
upgrade go version to 1.18
1 parent 584bea4 commit e2c41cf

File tree

6 files changed

+15
-15
lines changed

6 files changed

+15
-15
lines changed

.github/workflows/ci.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -20,11 +20,11 @@ jobs:
2020
- name: Set up Go
2121
uses: actions/setup-go@v2
2222
with:
23-
go-version: 1.17
23+
go-version: 1.18
2424

2525
- name: Building From Source
2626
run: |
27-
go mod tidy -compat=1.17
27+
go mod tidy -compat=1.18
2828
go run ./scripts/date.go >> date.txt
2929
go build -ldflags "-X main.version=$(git describe --abbrev=0 --tags) -X main.buildDate=$(cat date.txt)" -o tran
3030
@@ -40,7 +40,7 @@ jobs:
4040
- name: Set up Go
4141
uses: actions/setup-go@v2
4242
with:
43-
go-version: 1.17
43+
go-version: 1.18
4444

4545
- name: Building From Source
4646
run: |
@@ -91,7 +91,7 @@ jobs:
9191
- name: Set up Go
9292
uses: actions/setup-go@v2
9393
with:
94-
go-version: 1.17
94+
go-version: 1.18
9595

9696
- name: Set up `GoReleaser`
9797
uses: goreleaser/goreleaser-action@v2

.github/workflows/go.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ jobs:
1515
- name: Set up Go
1616
uses: actions/setup-go@v2
1717
with:
18-
go-version: 1.17
18+
go-version: 1.18
1919

2020
- name: Build
2121
run: |

.github/workflows/release.yml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -22,29 +22,29 @@ jobs:
2222
persist-credentials: false
2323
fetch-depth: 0
2424

25-
- name: Set up `Go`
25+
- name: Set up Go
2626
uses: actions/setup-go@v2
2727
with:
28-
go-version: 1.17
28+
go-version: 1.18
2929

30-
- name: Setup `Node.js`
30+
- name: Setup Node.js
3131
uses: actions/setup-node@v2.5.0
3232
with:
3333
node-version: 16
3434

35-
- name: Set up `GoReleaser`
35+
- name: Set up GoReleaser
3636
uses: goreleaser/goreleaser-action@v2
3737
with:
3838
install-only: true
3939

40-
- name: Set up `Task`
40+
- name: Set up Task
4141
uses: arduino/setup-task@v1
4242

43-
- name: Set up `Tag`
43+
- name: Set up Tag
4444
id: ghtag
4545
run: echo ::set-output name=tag::${GITHUB_REF#refs/*/}
4646

47-
- name: Set up `Date`
47+
- name: Set up Date
4848
run: go run ./scripts/date.go >> date.txt
4949

5050
- name: Build

.goreleaser.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ release:
1010

1111
before:
1212
hooks:
13-
- go mod tidy -compat=1.17
13+
- go mod tidy -compat=1.18
1414

1515
builds:
1616
- <<: &build_defaults

Taskfile.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ tasks:
2020
build:
2121
cmds:
2222
- task: set-tag-and-date
23-
- go mod tidy -compat=1.17
23+
- go mod tidy -compat=1.18
2424
- go build -ldflags "-X main.version=$(cat tag.txt) -X main.buildDate=$(cat date.txt)" -o tran
2525

2626
install:

go.mod

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

3-
go 1.17
3+
go 1.18
44

55
require (
66
github.com/AlecAivazis/survey/v2 v2.3.4

0 commit comments

Comments
 (0)