Skip to content

fix: Content-Type header for JSON responses #1423

fix: Content-Type header for JSON responses

fix: Content-Type header for JSON responses #1423

Workflow file for this run

name: Go
on:
push:
paths:
- "**.go"
pull_request:
paths:
- "**.go"
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up Go
uses: actions/setup-go@v4
with:
go-version: 'stable'
- name: Build
run: go build -v ./cmd/...
- name: vet
run: go vet ./...
- name: gofmt
uses: Jerome1337/[email protected]
with:
gofmt-flags: "-l -d"
- name: golint
uses: Jerome1337/[email protected]
- name: Revive Action
uses: morphy2k/[email protected]
- name: Tests
run: go test -v ./...