Skip to content

refactor: status code >= 500 is treated as an error #5

refactor: status code >= 500 is treated as an error

refactor: status code >= 500 is treated as an error #5

Workflow file for this run

name: Go
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
jobs:
test:
name: Test
strategy:
fail-fast: false
matrix:
go-version: [1.22.x]
os: [ubuntu-latest, windows-latest]
runs-on: ${{ matrix.os}}
steps:
- name: Install Go
uses: actions/setup-go@v2
with:
go-version: ${{ matrix.go-version }}
- name: Fetch Repository
uses: actions/checkout@v2
- name: Make Ready
run: |
go version
go env
go get -t -v ./...
git rev-parse --short HEAD
- name: Run Vet
run: go vet ./...
- name: Run Test
run: go test -v -cover -covermode=atomic ./...