Skip to content

chore: use fmt.Errorf(...) instead of errors.New(fmt.Sprintf(...)) #62

chore: use fmt.Errorf(...) instead of errors.New(fmt.Sprintf(...))

chore: use fmt.Errorf(...) instead of errors.New(fmt.Sprintf(...)) #62

Workflow file for this run

on: [push, pull_request]
name: build
jobs:
test:
env:
CGO_ENABLED: 0
strategy:
matrix:
go-version: [1.17.x,1.18.x,1.19.x,1.20.x]
platform: [ubuntu-latest, macos-latest]
runs-on: ${{ matrix.platform }}
steps:
- name: Install Go
uses: actions/setup-go@v1
with:
go-version: ${{ matrix.go-version }}
- name: Checkout code
uses: actions/checkout@v2
- name: Build
run: |
go mod tidy
go mod vendor
go build