Skip to content

Commit

Permalink
Merge pull request #1255 from traPtitech/feat/actionversion-from-gomod
Browse files Browse the repository at this point in the history
main.yml書き換えた
  • Loading branch information
Sotatsu57 authored Jul 1, 2024
2 parents b1832bb + fad7793 commit d037e89
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,10 @@ jobs:
name: Mod
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-go@v4
with:
go-version: '1.20'
- uses: actions/checkout@v4
go-version-file: 'go.mod'
- uses: actions/[email protected]
with:
path: ~/go/pkg/mod
Expand All @@ -31,10 +31,10 @@ jobs:
env:
GOCACHE: "/tmp/go/cache"
steps:
- uses: actions/checkout@v4
- uses: actions/setup-go@v4
with:
go-version: '1.20'
- uses: actions/checkout@v4
go-version-file: 'go.mod'
- uses: actions/[email protected]
with:
path: ~/go/pkg/mod
Expand Down Expand Up @@ -66,10 +66,10 @@ jobs:
MYSQL_ROOT_PASSWORD: password
MYSQL_DATABASE: anke-to
steps:
- uses: actions/checkout@v4
- uses: actions/setup-go@v4
with:
go-version: '1.20'
- uses: actions/checkout@v4
go-version-file: 'go.mod'
- uses: actions/[email protected]
with:
path: ~/go/pkg/mod
Expand Down Expand Up @@ -97,10 +97,10 @@ jobs:
name: Lint
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-go@v4
with:
go-version: '1.20'
- uses: actions/checkout@v4
go-version-file: 'go.mod'
- name: golangci-lint
uses: reviewdog/[email protected]
with:
Expand Down

0 comments on commit d037e89

Please sign in to comment.