mirror of
https://github.com/hajimehoshi/ebiten.git
synced 2024-11-10 04:57:26 +01:00
.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:
parent
b615aaf673
commit
7f0a86f32c
4
.github/workflows/test.yml
vendored
4
.github/workflows/test.yml
vendored
@ -55,7 +55,7 @@ jobs:
|
|||||||
git clone --depth=1 https://github.com/hajimehoshi/go-inovation
|
git clone --depth=1 https://github.com/hajimehoshi/go-inovation
|
||||||
cd go-inovation
|
cd go-inovation
|
||||||
go mod edit -replace=github.com/hajimehoshi/ebiten/v2=$GITHUB_WORKSPACE
|
go mod edit -replace=github.com/hajimehoshi/ebiten/v2=$GITHUB_WORKSPACE
|
||||||
go mod tidy
|
go mod tidy -compat=1.17
|
||||||
|
|
||||||
- name: Xvfb
|
- name: Xvfb
|
||||||
if: runner.os == 'Linux'
|
if: runner.os == 'Linux'
|
||||||
@ -118,7 +118,7 @@ jobs:
|
|||||||
echo ')' >> main.go
|
echo ')' >> main.go
|
||||||
echo 'func main() {}' >> main.go
|
echo 'func main() {}' >> main.go
|
||||||
go mod edit -replace github.com/hajimehoshi/ebiten/v2=$GITHUB_WORKSPACE
|
go mod edit -replace github.com/hajimehoshi/ebiten/v2=$GITHUB_WORKSPACE
|
||||||
go mod tidy
|
go mod tidy -compat=1.17
|
||||||
go mod vendor
|
go mod vendor
|
||||||
go build -v .
|
go build -v .
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user