use go1.19 explicitly in all workflows

This commit is contained in:
i-norden 2023-03-31 09:48:41 -05:00 committed by Roy Crihfield
parent 20fa187092
commit f689e60292

View File

@ -35,13 +35,16 @@ jobs:
BUILD_HOSTNAME: ${{ secrets.BUILD_HOSTNAME }} BUILD_HOSTNAME: ${{ secrets.BUILD_HOSTNAME }}
BUILD_USERNAME: ${{ secrets.BUILD_USERNAME }} BUILD_USERNAME: ${{ secrets.BUILD_USERNAME }}
BUILD_KEY: ${{ secrets.BUILD_KEY }} BUILD_KEY: ${{ secrets.BUILD_KEY }}
#strategy:
# matrix:
# go-version: [1.16.x, 1.17.x, 1.18.x]
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- uses: actions/checkout@v2 - 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. # Passed experience with GHA has taught me to store variables in files instead of passing them as variables.
- name: Output variables to files - name: Output variables to files
run: | run: |
@ -85,12 +88,13 @@ jobs:
ETH_HTTP_PATH: "go-ethereum:8545" ETH_HTTP_PATH: "go-ethereum:8545"
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- uses: actions/checkout@v2
- name: Set up Go
uses: actions/setup-go@v4
with:
go-version: 1.19.7
- name: Create GOPATH - name: Create GOPATH
run: mkdir -p /tmp/go run: mkdir -p /tmp/go
- uses: actions/setup-go@v3
with:
go-version: "1.19.x"
check-latest: true
- uses: actions/checkout@v2 - uses: actions/checkout@v2
with: with:
path: "./ipld-eth-server" path: "./ipld-eth-server"
@ -153,12 +157,13 @@ jobs:
ETH_HTTP_PATH: "go-ethereum:8545" ETH_HTTP_PATH: "go-ethereum:8545"
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- uses: actions/checkout@v2
- name: Set up Go
uses: actions/setup-go@v4
with:
go-version: 1.19.7
- name: Create GOPATH - name: Create GOPATH
run: mkdir -p /tmp/go run: mkdir -p /tmp/go
- uses: actions/setup-go@v3
with:
go-version: "1.19.x"
check-latest: true
- uses: actions/checkout@v2 - uses: actions/checkout@v2
with: with:
path: "./ipld-eth-server" path: "./ipld-eth-server"