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"