Skip to content

Commit 9acc50e

Browse files
committed
BUG/MINOR: ci: set GOTOOLCHAIN to auto in GitHub workflows
Add the GOTOOLCHAIN=auto environment variable to both the CI and GoReleaser workflows.
1 parent c9205ef commit 9acc50e

3 files changed

Lines changed: 7 additions & 1 deletion

File tree

.github/workflows/ci.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
name: CI
22
on: [push, pull_request]
3+
env:
4+
# Allow Go to fetch a newer toolchain when tools require it.
5+
GOTOOLCHAIN: auto
36
jobs:
47
check:
58
if: ${{ github.event_name == 'pull_request' }}

.github/workflows/goreleaser.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,9 @@ on:
1010
description: "Tag to rebuild and re-release (e.g. v0.5.0); empty = latest tag"
1111
required: false
1212
default: ""
13+
env:
14+
# Allow Go to fetch a newer toolchain when tools require it.
15+
GOTOOLCHAIN: auto
1316
jobs:
1417
goreleaser:
1518
runs-on: ubuntu-latest

documentation/all-options/example.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@
3333
# export-socket: false
3434

3535
# Suppress the ASCII logo on daemon startup (default: false).
36-
# no-logo: true
36+
# no-logo: false
3737

3838
# Shutdown ordering strategy (default: reverse-dep).
3939
# reverse-dep: dependents stop first, then dependencies (safest default)

0 commit comments

Comments
 (0)