address PR comments #1788
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: CI | |
on: | |
- push | |
- pull_request | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-go@v5 | |
with: | |
go-version: "1.22" | |
- name: Install Flow CLI | |
run: sh -ci "$(curl -fsSL https://raw.githubusercontent.com/onflow/flow-cli/master/install.sh)" | |
- name: Flow cli Version | |
run: flow version | |
- name: Update PATH | |
run: echo "/root/.local/bin" >> $GITHUB_PATH | |
- name: Run tests | |
run: export GOPATH=$HOME/go && make ci |