From f689e60292d7e3eaf1af7062e687a285a9dcdce1 Mon Sep 17 00:00:00 2001 From: i-norden Date: Fri, 31 Mar 2023 09:48:41 -0500 Subject: [PATCH] use go1.19 explicitly in all workflows --- .github/workflows/tests.yaml | 27 ++++++++++++++++----------- 1 file changed, 16 insertions(+), 11 deletions(-) diff --git a/.github/workflows/tests.yaml b/.github/workflows/tests.yaml index 909f8973..f251883b 100644 --- a/.github/workflows/tests.yaml +++ b/.github/workflows/tests.yaml @@ -35,13 +35,16 @@ jobs: BUILD_HOSTNAME: ${{ secrets.BUILD_HOSTNAME }} BUILD_USERNAME: ${{ secrets.BUILD_USERNAME }} BUILD_KEY: ${{ secrets.BUILD_KEY }} - #strategy: - # matrix: - # go-version: [1.16.x, 1.17.x, 1.18.x] + runs-on: ubuntu-latest steps: - uses: actions/checkout@v2 + - name: Set up Go + uses: actions/setup-go@v4 + with: + go-version: 1.19.7 + # Passed experience with GHA has taught me to store variables in files instead of passing them as variables. - name: Output variables to files run: | @@ -85,12 +88,13 @@ jobs: ETH_HTTP_PATH: "go-ethereum:8545" runs-on: ubuntu-latest steps: + - uses: actions/checkout@v2 + - name: Set up Go + uses: actions/setup-go@v4 + with: + go-version: 1.19.7 - name: Create GOPATH run: mkdir -p /tmp/go - - uses: actions/setup-go@v3 - with: - go-version: "1.19.x" - check-latest: true - uses: actions/checkout@v2 with: path: "./ipld-eth-server" @@ -153,12 +157,13 @@ jobs: ETH_HTTP_PATH: "go-ethereum:8545" runs-on: ubuntu-latest steps: + - uses: actions/checkout@v2 + - name: Set up Go + uses: actions/setup-go@v4 + with: + go-version: 1.19.7 - name: Create GOPATH run: mkdir -p /tmp/go - - uses: actions/setup-go@v3 - with: - go-version: "1.19.x" - check-latest: true - uses: actions/checkout@v2 with: path: "./ipld-eth-server"