.gitub/workflows: add -compat=1.17 to go-mod-tidy

This is due to a new dependency on golang.org/x/exp/shiny from
gomobile.
This commit is contained in:
Hajime Hoshi 2023-09-02 01:22:12 +09:00
parent b615aaf673
commit 7f0a86f32c

View File

@ -55,7 +55,7 @@ jobs:
git clone --depth=1 https://github.com/hajimehoshi/go-inovation
cd go-inovation
go mod edit -replace=github.com/hajimehoshi/ebiten/v2=$GITHUB_WORKSPACE
go mod tidy
go mod tidy -compat=1.17
- name: Xvfb
if: runner.os == 'Linux'
@ -118,7 +118,7 @@ jobs:
echo ')' >> main.go
echo 'func main() {}' >> main.go
go mod edit -replace github.com/hajimehoshi/ebiten/v2=$GITHUB_WORKSPACE
go mod tidy
go mod tidy -compat=1.17
go mod vendor
go build -v .