1
1
mirror of https://github.com/walles/moar.git synced 2024-09-19 16:08:02 +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:
Johan Walles 2024-07-22 13:19:59 +02:00
parent ba0dc99445
commit 6e415f9a78
2 changed files with 3 additions and 2 deletions

View File

@ -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

View File

@ -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"