Skip to content

fix: should handle non-json format response (#64) #87

fix: should handle non-json format response (#64)

fix: should handle non-json format response (#64) #87

Workflow file for this run

on:
push:
branches: [main]
pull_request:
branches: [main]
name: Build
defaults:
run:
shell: bash
jobs:
lint:
name: Lint files
runs-on: 'ubuntu-latest'
steps:
- uses: actions/checkout@v3
- uses: actions/setup-go@v3
with:
go-version: '1.17'
check-latest: true
- name: golangci-lint
uses: golangci/golangci-lint-action@v3
with:
version: latest
test:
name: Run tests
runs-on: 'ubuntu-latest'
needs: lint
steps:
- uses: actions/checkout@v3
- uses: actions/setup-go@v3
with:
go-version: '1.17'
check-latest: true
- run: |
go test -v -cover ./...