Skip to content

Commit

Permalink
GitHub Actions: enable toolchain management on Fedora
Browse files Browse the repository at this point in the history
  • Loading branch information
stapelberg committed Feb 16, 2025
1 parent a7c8f67 commit 11cc465
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions testdata/ci-fedora.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,11 @@ FROM fedora

# Install rsync (for running tests).
RUN dnf -y update && dnf -y install rsync openssh-clients go && dnf clean all

# Enable toolchain management (and the module proxy, which is a requirement) so
# that Go 1.23 (from Fedora) will use Go 1.24 for gokrazy/rsync (or whichever
# version we specify as language/toolchain version in our go.mod).
RUN go env -w \
GOPROXY=https://proxy.golang.org,direct \
GOSUMDB=sum.golang.org \
GOTOOLCHAIN=auto

0 comments on commit 11cc465

Please sign in to comment.