Skip to content

schema.default can be array, or even other types like example #5

schema.default can be array, or even other types like example

schema.default can be array, or even other types like example #5

Workflow file for this run

---
name: Test
on: [ push, pull_request ]
jobs:
test:
name: Test
runs-on: ubuntu-latest
strategy:
matrix:
go: [ 1.15, 1.16 ]
steps:
- name: Setup Go environment
uses: actions/setup-go@v2
with:
go-version: ${{ matrix.go }}
- name: Checkout
uses: actions/checkout@v2
- name: Cache Go Mods
uses: actions/cache@v2
with:
path: ~/go/pkg/mod
key: ${{ runner.os }}-go-${{ hashFiles('**/go.sum') }}
restore-keys: ${{ runner.os }}-go-
- name: Test
run: go test -v -race -coverprofile=coverage.txt -covermode=atomic
- name: Codecov
uses: codecov/codecov-action@v1