Skip to content

fix(client): fallback to default api version when node does not suppo… #308

fix(client): fallback to default api version when node does not suppo…

fix(client): fallback to default api version when node does not suppo… #308

Workflow file for this run

name: proto
on:
push:
branches:
- main
tags:
- v*
pull_request:
jobs:
lint:
runs-on: ubuntu-latest
timeout-minutes: 5
steps:
- uses: actions/checkout@v3
- name: Setup env
uses: HatsuneMiku3939/direnv-action@v1
- run: |
toolchain=$(./script/tools.sh gotoolchain | sed 's/go*//')
echo "GOVERSION=${toolchain}" >> $GITHUB_ENV
- uses: actions/setup-go@v4
with:
go-version: "${{ env.GOVERSION }}"
- name: go mod vendor
run: make modvendor
- name: lint
run: make lint