Skip to content

Commit

Permalink
Revert Go version back to 1.20
Browse files Browse the repository at this point in the history
Go 1.22 crashes under Windows with h264 encoder.
  • Loading branch information
sergystepanov committed Feb 8, 2024
1 parent 53e5572 commit 1a44b94
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ jobs:

- uses: actions/setup-go@v5
with:
go-version: 1.22.0
go-version: 1.20.14

- name: Linux
if: matrix.os == 'ubuntu-latest'
Expand Down
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ ARG VERSION=master

# base build stage
FROM ubuntu:lunar AS build0
ARG GO=1.22.0
ARG GO=1.20.14
ARG GO_DIST=go${GO}.linux-amd64.tar.gz

ADD https://go.dev/dl/$GO_DIST ./
Expand Down
Binary file modified cmd/worker/default.pgo
Binary file not shown.
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module github.com/giongto35/cloud-game/v3

go 1.22
go 1.20

require (
github.com/VictoriaMetrics/metrics v1.31.0
Expand Down

0 comments on commit 1a44b94

Please sign in to comment.