Skip to content

Force content type in API requests #169

Force content type in API requests

Force content type in API requests #169

Workflow file for this run

name: Go
on:
push:
branches: [ master ]
pull_request:
jobs:
build:
if: github.event.pull_request.draft == false
name: Build
runs-on: ubuntu-latest
steps:
- name: Set up Go 1.x
uses: actions/setup-go@v4
with:
go-version: '1.18'
id: go
- name: Check out code into the Go module directory
uses: actions/checkout@v3
with:
submodules: recursive
- name: Get dependencies
run: |
go get -v -t -d ./...
- name: Build
run: go build -v ./...
- name: Test
run: go test -v -race ./...