Skip to content

csv_validator: add check to ensure that the example is a valid JSON (… #11

csv_validator: add check to ensure that the example is a valid JSON (…

csv_validator: add check to ensure that the example is a valid JSON (… #11

Workflow file for this run

name: Go
on:
push:
branches:
- master
pull_request:
branches:
- master
jobs:
build:
name: Build
runs-on: ubuntu-latest
steps:
- name: Set up Go
uses: actions/setup-go@v2
with:
go-version: 1.16
id: go
- name: Check out code into the Go module directory
uses: actions/checkout@v2
- name: unit-test
run: go test -mod=vendor -v ./...
go-apidiff:
name: go-apidiff
if: github.event_name == 'pull_request'
runs-on: ubuntu-latest
steps:
- name: Set up Go
uses: actions/setup-go@v2
with:
go-version: 1.16
id: go
- name: Check out code into the Go module directory
uses: actions/checkout@v2
with:
fetch-depth: 0
- name: Run go-apidiff
uses: joelanford/go-apidiff@master