Skip to content

Merge pull request #59 from spectrocloud/PLT-782 #129

Merge pull request #59 from spectrocloud/PLT-782

Merge pull request #59 from spectrocloud/PLT-782 #129

Workflow file for this run

on:
push:
workflow_dispatch:
jobs:
build-with-coverage:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Unshallow
run: git fetch --prune --unshallow
- name: Configure git for private modules
env:
TOKEN: ${{ secrets.SPECTRO_TOKEN }}
USER: ${{ secrets.SPECTRO_USER }}
run: git config --global url."https://${USER}:${TOKEN}@github.com".insteadOf "https://github.com"
- name: Set up Go
uses: actions/setup-go@v3
with:
go-version: 1.18
- name: Vet
run: make vet
- name: Lint
run: make lint
- name: Test
run: make test