Revert "Go: write test go runtime version in a specific file"

This reverts commit abcd9165b4.
This commit is contained in:
Paolo Tranquilli
2024-05-02 16:22:24 +02:00
parent abcd9165b4
commit 1aafc377ad
4 changed files with 15 additions and 7 deletions

View File

@@ -7,6 +7,8 @@ on:
- .github/workflows/go-tests-other-os.yml
- .github/actions/**
- codeql-workspace.yml
env:
GO_VERSION: '~1.22.0'
permissions:
contents: read
@@ -16,10 +18,10 @@ jobs:
name: Test MacOS
runs-on: macos-latest
steps:
- name: Set up Go
- name: Set up Go ${{ env.GO_VERSION }}
uses: actions/setup-go@v5
with:
go-version-file: go/test-runtime-version/go.work
go-version: ${{ env.GO_VERSION }}
cache: false
id: go
@@ -53,10 +55,10 @@ jobs:
name: Test Windows
runs-on: windows-latest-xl
steps:
- name: Set up Go
- name: Set up Go ${{ env.GO_VERSION }}
uses: actions/setup-go@v5
with:
go-version-file: go/test-runtime-version/go.work
go-version: ${{ env.GO_VERSION }}
cache: false
id: go

View File

@@ -16,6 +16,9 @@ on:
- .github/actions/**
- codeql-workspace.yml
env:
GO_VERSION: '~1.22.0'
permissions:
contents: read
@@ -25,10 +28,10 @@ jobs:
name: Test Linux (Ubuntu)
runs-on: ubuntu-latest-xl
steps:
- name: Set up Go
- name: Set up Go ${{ env.GO_VERSION }}
uses: actions/setup-go@v5
with:
go-version-file: go/test-runtime-version/go.work
go-version: ${{ env.GO_VERSION }}
cache: false
id: go