Skip to content

Update to Go 1.21 and update dependencies #336

Update to Go 1.21 and update dependencies

Update to Go 1.21 and update dependencies #336

Workflow file for this run

name: Go
on:
push:
branches: [main]
pull_request:
branches: [main]
workflow_dispatch:
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with

Check failure on line 15 in .github/workflows/go.yaml

View workflow run for this annotation

GitHub Actions / .github/workflows/go.yaml

Invalid workflow file

You have an error in your yaml syntax on line 15
path: 'ethconnect'
- uses: actions/checkout@v4
with:
repository: kaleido-io/ethbinding
path: 'ethbinding'
- name: Set up Go
uses: actions/setup-go@v4
with:
go-version: "1.21"
- name: Install solc
run: |
sudo curl -Lo /usr/local/bin/solc https://github.com/ethereum/solidity/releases/download/v0.7.6/solc-static-linux
sudo chmod 755 /usr/local/bin/solc
- name: Build and Test
env:
TEST_DEBUG_FLAGS: -v
run: cd ethconnect && make
- name: Upload coverage
run: bash <(curl -s https://codecov.io/bash)