Skip to content

Commit

Permalink
go versionの指定にgo.modを利用
Browse files Browse the repository at this point in the history
  • Loading branch information
hekki committed Dec 23, 2024
1 parent d60313a commit 3591b6d
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 8 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/daily.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,10 +22,10 @@ jobs:
- name: Set up Go
uses: actions/setup-go@v5
with:
go-version: "1.21"
go-version-file: 'go.mod'

- name: Setup tools
run: |
run: |
make tools
- name: make test
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:
- name: Set up Go
uses: actions/setup-go@v5
with:
go-version: "1.21"
go-version-file: 'go.mod'

- name: Run GoReleaser
uses: goreleaser/goreleaser-action@v6
Expand Down
10 changes: 5 additions & 5 deletions .github/workflows/tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
- name: Set up Go
uses: actions/setup-go@v5
with:
go-version: "1.21"
go-version-file: 'go.mod'

- name: Setup tools
run: |
Expand All @@ -38,10 +38,10 @@ jobs:
- name: Set up Go
uses: actions/setup-go@v5
with:
go-version: "1.21"
go-version-file: 'go.mod'

- name: Setup tools
run: |
run: |
make tools
- name: make lint-go
Expand All @@ -64,10 +64,10 @@ jobs:
- name: Set up Go
uses: actions/setup-go@v5
with:
go-version: "1.21"
go-version-file: 'go.mod'

- name: Setup tools
run: |
run: |
make tools
- name: make test
Expand Down

0 comments on commit 3591b6d

Please sign in to comment.