Skip to content

Commit a93dc09

Browse files
authored
Merge pull request #362 from x-motemen/version-file
go-version-file: go.mod
2 parents 392b6a5 + 1182f9f commit a93dc09

File tree

4 files changed

+11
-11
lines changed

4 files changed

+11
-11
lines changed

.github/actions/release/action.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ runs:
1313
- name: setup go
1414
uses: actions/setup-go@v3
1515
with:
16-
go-version: 1.x
16+
go-version-file: go.mod
1717
- name: release
1818
run: |
1919
make crossbuild upload

.github/workflows/integration.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,12 +7,12 @@ jobs:
77
test:
88
runs-on: macos-latest
99
steps:
10+
- name: checkout
11+
uses: actions/checkout@v3
1012
- name: setup go
1113
uses: actions/setup-go@v3
1214
with:
13-
go-version: 1.x
14-
- name: checkout
15-
uses: actions/checkout@v3
15+
go-version-file: go.mod
1616
- name: install
1717
run: |
1818
make install

.github/workflows/tagpr.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,12 +7,12 @@ jobs:
77
tagpr:
88
runs-on: ubuntu-latest
99
steps:
10+
- name: checkout
11+
uses: actions/checkout@v3
1012
- name: setup go
1113
uses: actions/setup-go@v3
1214
with:
13-
go-version: 1.x
14-
- name: checkout
15-
uses: actions/checkout@v3
15+
go-version-file: go.mod
1616
- name: tagpr
1717
id: tagpr
1818
uses: Songmu/tagpr@v1

.github/workflows/test.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -14,17 +14,17 @@ jobs:
1414
- macOS-latest
1515
- windows-latest
1616
steps:
17-
- name: setup go
18-
uses: actions/setup-go@v3
19-
with:
20-
go-version: 1.x
2117
- name: Set git to use LF
2218
run: |
2319
git config --global core.autocrlf false
2420
git config --global core.eol lf
2521
if: "matrix.os == 'windows-latest'"
2622
- name: checkout
2723
uses: actions/checkout@v3
24+
- name: setup go
25+
uses: actions/setup-go@v3
26+
with:
27+
go-version-file: go.mod
2828
- name: test
2929
run: go test -coverprofile coverage.out -covermode atomic ./...
3030
- name: Send coverage

0 commit comments

Comments
 (0)