ci: use go-version-file instead of GITHUB_ENV (#7958)

This commit is contained in:
Ville Vesilehto
2026-03-24 09:57:20 +02:00
committed by GitHub
parent 540a50d900
commit 406be98739
3 changed files with 5 additions and 19 deletions

View File

@@ -16,13 +16,10 @@ jobs:
- name: Checkout
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
- name: Setup Go Version
run: echo "GO_VERSION=$(cat .go-version)" >> $GITHUB_ENV
- name: Setup Go
uses: actions/setup-go@4b73464bb391d4059bd26b0524d20df3927bd417 # v6.3.0
with:
go-version: ${{ env.GO_VERSION }}
go-version-file: .go-version
- name: Update Docs
run: |