Skip to content

Fixing the JSON field name #41

Fixing the JSON field name

Fixing the JSON field name #41

Workflow file for this run

name: test
on:
push:
branches: [main]
pull_request:
branches: [main]
jobs:
lint:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Run linter
uses: golangci/golangci-lint-action@v2
test:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Setup go
uses: actions/setup-go@v2
with:
go-version: 1.18
- name: Setup solr
run: |
make solr
make solrcloud
- name: Run tests
run: go test -tags integration -coverprofile=profile.cov
- name: Send coverage
uses: shogo82148/actions-goveralls@v1
with:
path-to-profile: profile.cov