PCP-1995: Update Dockerfile, Makefile and spectro-release.yaml (#7) #33
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: Go Tests | |
on: | |
push: | |
pull_request: | |
jobs: | |
code-quality: | |
name: Code Quality | |
runs-on: ubuntu-latest | |
steps: | |
- name: Check out code | |
uses: actions/[email protected] | |
- name: Install Go | |
uses: actions/setup-go@v2 | |
with: | |
go-version: "1.17" | |
- name: go fmt | |
run: make fmt | |
- name: go vet | |
run: make vet | |
tests: | |
name: Tests | |
runs-on: ubuntu-latest | |
steps: | |
- name: Check out Code | |
uses: actions/[email protected] | |
- name: Install Go | |
uses: actions/setup-go@v2 | |
with: | |
go-version: "1.17" | |
- name: Run tests | |
run: make test | |
build: | |
name: Build | |
runs-on: ubuntu-latest | |
steps: | |
- name: Check out Code | |
uses: actions/[email protected] | |
- name: Install Go | |
uses: actions/setup-go@v2 | |
with: | |
go-version: "1.17" | |
- name: Try build | |
run: make |