diff --git a/.github/workflows/acceptance-tests.yml b/.github/workflows/acceptance-tests.yml index cd8e36cc5..bcc85f67a 100644 --- a/.github/workflows/acceptance-tests.yml +++ b/.github/workflows/acceptance-tests.yml @@ -22,6 +22,10 @@ jobs: with: fetch-depth: 0 + - uses: actions/setup-go@v5 + with: + go-version-file: go.mod + - id: selproj run: echo "project_name_suffix=$(make -s ci-selproj | tr -d '\n')" >> $GITHUB_OUTPUT env: @@ -69,6 +73,7 @@ jobs: - uses: actions/checkout@v4 with: fetch-depth: 0 + - uses: actions/setup-go@v5 with: go-version-file: go.mod diff --git a/.github/workflows/examples-tests.yml b/.github/workflows/examples-tests.yml index e0fdb822a..01fb5e639 100644 --- a/.github/workflows/examples-tests.yml +++ b/.github/workflows/examples-tests.yml @@ -22,6 +22,10 @@ jobs: with: fetch-depth: 0 + - uses: actions/setup-go@v5 + with: + go-version-file: go.mod + - id: selproj run: echo "project_name_suffix=$(make -s ci-selproj | tr -d '\n')" >> $GITHUB_OUTPUT env: @@ -41,6 +45,7 @@ jobs: - uses: actions/checkout@v4 with: fetch-depth: 0 + - uses: actions/setup-go@v5 with: go-version-file: go.mod