diff --git a/.github/go-version b/.github/go-version new file mode 100644 index 000000000..193d14030 --- /dev/null +++ b/.github/go-version @@ -0,0 +1 @@ +1.23 \ No newline at end of file diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index db8d8315b..48196d2c9 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -19,7 +19,7 @@ jobs: - name: Install Go uses: actions/setup-go@v5 with: - go-version-file: go.mod + go-version-file: .github/go-version - name: Build env: @@ -74,7 +74,7 @@ jobs: - name: Install Go uses: actions/setup-go@v5 with: - go-version-file: go.mod + go-version-file: .github/go-version - name: Build env: diff --git a/.github/workflows/test.yaml b/.github/workflows/test.yaml index f7ea94256..6833e1f46 100644 --- a/.github/workflows/test.yaml +++ b/.github/workflows/test.yaml @@ -16,7 +16,7 @@ jobs: - name: setup go uses: actions/setup-go@v5 with: - go-version-file: go.mod + go-version-file: .github/go-version - uses: ibiqlik/action-yamllint@v3 with: format: auto @@ -32,7 +32,7 @@ jobs: - name: Install Go uses: actions/setup-go@v5 with: - go-version-file: go.mod + go-version-file: .github/go-version - name: Check module vendoring run: | go mod tidy @@ -47,7 +47,7 @@ jobs: - name: setup go uses: actions/setup-go@v5 with: - go-version-file: go.mod + go-version-file: .github/go-version - name: Build on all supported architectures run: | set -e @@ -75,7 +75,7 @@ jobs: - name: setup go uses: actions/setup-go@v5 with: - go-version-file: go.mod + go-version-file: .github/go-version - name: Set up Go for root run: | sudo ln -sf `which go` `sudo which go` || true @@ -106,6 +106,6 @@ jobs: - name: setup go uses: actions/setup-go@v5 with: - go-version-file: go.mod + go-version-file: .github/go-version - name: test run: bash ./test_windows.sh