Skip to content

PCP-1995: Update Dockerfile, Makefile and spectro-release.yaml (#7) #33

PCP-1995: Update Dockerfile, Makefile and spectro-release.yaml (#7)

PCP-1995: Update Dockerfile, Makefile and spectro-release.yaml (#7) #33

Workflow file for this run

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