Add CI test for building CLI.
This commit is contained in:
parent
accb598e29
commit
63652d7917
1 changed files with 12 additions and 0 deletions
12
.github/workflows/test.yml
vendored
12
.github/workflows/test.yml
vendored
|
|
@ -47,3 +47,15 @@ jobs:
|
||||||
token: ${{ secrets.CODECOV_TOKEN }}
|
token: ${{ secrets.CODECOV_TOKEN }}
|
||||||
file: ./coverage.txt
|
file: ./coverage.txt
|
||||||
fail_ci_if_error: true
|
fail_ci_if_error: true
|
||||||
|
|
||||||
|
build-cli:
|
||||||
|
name: Build CLI
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
needs: [lint]
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@main
|
||||||
|
- uses: actions/setup-go@main
|
||||||
|
with:
|
||||||
|
go-version: '1.13'
|
||||||
|
- name: Run go build
|
||||||
|
run: go build ./cli/battlesnake
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue