[fix] Move go setup into its own step. Cannot be mixed with `run`.
@@ -13,15 +13,13 @@ jobs:
steps:
- name: Checkout
uses: actions/checkout@v2
- - name: Lint and Build Carrier
+ - name: Setup Go for Building
uses: actions/setup-go@v2
with:
go-version: '^1.13.7'
+ - name: Lint and Build Carrier
run: make build
- name: Test Carrier
- uses: actions/setup-go@v2
- with:
- go-version: '^1.13.7'
run: make test
- name: Login to Docker Hub
uses: docker/login-action@v1
