diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index bbefb79d..679f1263 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -21,6 +21,11 @@ jobs: checkout-full-src: runs-on: ubuntu-latest steps: + - name: Set up Go + uses: actions/setup-go@v3 + with: + go-version: '^1.21' + - run: go version - uses: actions/checkout@v3 with: submodules: 'recursive' @@ -135,6 +140,11 @@ jobs: CC: ${{ matrix.cc }} steps: + - name: Set up Go + uses: actions/setup-go@v3 + with: + go-version: '^1.21' + - run: go version - uses: actions/checkout@v3 with: fetch-depth: 0 diff --git a/.github/workflows/pick-build.yml b/.github/workflows/pick-build.yml index 2328596d..8debec76 100644 --- a/.github/workflows/pick-build.yml +++ b/.github/workflows/pick-build.yml @@ -21,6 +21,11 @@ jobs: checkout-full-src: runs-on: ubuntu-latest steps: + - name: Set up Go + uses: actions/setup-go@v3 + with: + go-version: '^1.21' + - run: go version - uses: actions/checkout@v3 with: ref: ${{ github.event.inputs.daed }} @@ -146,6 +151,11 @@ jobs: CC: ${{ matrix.cc }} steps: + - name: Set up Go + uses: actions/setup-go@v3 + with: + go-version: '^1.21' + - run: go version - uses: actions/checkout@v3 with: ref: ${{ github.event.inputs.daed }} diff --git a/.github/workflows/pr-build.yml b/.github/workflows/pr-build.yml index 5b412ccf..c22f6c70 100644 --- a/.github/workflows/pr-build.yml +++ b/.github/workflows/pr-build.yml @@ -45,6 +45,11 @@ jobs: checkout-full-src: runs-on: ubuntu-latest steps: + - name: Set up Go + uses: actions/setup-go@v3 + with: + go-version: '^1.21' + - run: go version - uses: actions/checkout@v3 with: submodules: 'recursive' @@ -144,6 +149,11 @@ jobs: GOARM: ${{ matrix.goarm }} steps: + - name: Set up Go + uses: actions/setup-go@v3 + with: + go-version: '^1.21' + - run: go version - uses: actions/checkout@v3 with: fetch-depth: 0 diff --git a/.github/workflows/prerelease.yml b/.github/workflows/prerelease.yml index 2e95a95e..fa359674 100644 --- a/.github/workflows/prerelease.yml +++ b/.github/workflows/prerelease.yml @@ -12,6 +12,11 @@ jobs: checkout-full-src: runs-on: ubuntu-latest steps: + - name: Set up Go + uses: actions/setup-go@v3 + with: + go-version: '^1.21' + - run: go version - uses: actions/checkout@v3 with: submodules: 'recursive' @@ -126,6 +131,11 @@ jobs: CC: ${{ matrix.cc }} steps: + - name: Set up Go + uses: actions/setup-go@v3 + with: + go-version: '^1.21' + - run: go version - uses: actions/checkout@v3 with: fetch-depth: 0 diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 9bf73574..82974392 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -12,6 +12,11 @@ jobs: checkout-full-src: runs-on: ubuntu-latest steps: + - name: Set up Go + uses: actions/setup-go@v3 + with: + go-version: '^1.21' + - run: go version - uses: actions/checkout@v3 with: submodules: 'recursive' @@ -129,6 +134,11 @@ jobs: CC: ${{ matrix.cc }} steps: + - name: Set up Go + uses: actions/setup-go@v3 + with: + go-version: '^1.21' + - run: go version - uses: actions/checkout@v3 with: ref: ${{ inputs.tag }}