mirror of
https://github.com/walles/moar.git
synced 2024-11-22 11:45:50 +03:00
Bump to a newer setup-go version
And add a separate build step on Linux, so we're more comparable with Windows. The extra build step will take some time, but it will also make the next build step faster due to caching.
This commit is contained in:
parent
ba0dc99445
commit
6e415f9a78
3
.github/workflows/linux-ci.yml
vendored
3
.github/workflows/linux-ci.yml
vendored
@ -13,7 +13,7 @@ jobs:
|
||||
uses: actions/checkout@v4
|
||||
|
||||
- name: Set up Go
|
||||
uses: actions/setup-go@v4
|
||||
uses: actions/setup-go@v5
|
||||
with:
|
||||
go-version-file: "go.mod"
|
||||
|
||||
@ -24,5 +24,6 @@ jobs:
|
||||
- name: Install golangci-lint
|
||||
run: curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s -- -b "$(go env GOPATH)"/bin v1.54.1
|
||||
|
||||
- run: go build
|
||||
- run: ./test.sh
|
||||
- run: GOARCH=386 ./test.sh
|
||||
|
2
.github/workflows/windows-ci.yml
vendored
2
.github/workflows/windows-ci.yml
vendored
@ -13,7 +13,7 @@ jobs:
|
||||
uses: actions/checkout@v4
|
||||
|
||||
- name: Set up Go
|
||||
uses: actions/setup-go@v4
|
||||
uses: actions/setup-go@v5
|
||||
with:
|
||||
go-version-file: "go.mod"
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user