build: improve makefile commands #283
Workflow file for this run
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: Raccoon Test & Build | |
on: | |
- push | |
- pull_request | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Setup Go | |
uses: actions/setup-go@v2.1.3 | |
with: | |
go-version: '1.14' | |
- name: Install Protoc | |
uses: arduino/setup-protoc@v1 | |
- name: Checkout repo | |
uses: actions/checkout@v2 | |
- name: Setup Project | |
run: make install-protoc; make setup | |
- name: Invoking go test | |
run: make test | |
- name: Invoking go bench test | |
run: make test-bench | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Setup Go | |
uses: actions/setup-go@v2.1.3 | |
with: | |
go-version: '1.14' | |
- name: Install Protoc | |
uses: arduino/setup-protoc@v1 | |
- uses: actions/checkout@v2 | |
- name: Build | |
run: make all |