Skip to content

update github.com/qiniu/x/errors #1580

update github.com/qiniu/x/errors

update github.com/qiniu/x/errors #1580

Workflow file for this run

name: Go+ CI
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
jobs:
Test:
strategy:
matrix:
go-version: [1.17.x, 1.18.x, 1.19.x, 1.20.x]
os: [ubuntu-latest, windows-latest, macos-11]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v3
- name: Set up Go
uses: actions/setup-go@v4
with:
go-version: ${{ matrix.go-version }}
- name: Test Go+ installer
run: |
git config --global user.email "build-robot@goplus.org"
git config --global user.name "build robot"
go test -v cmd/make_test.go
- name: Compile gop and related tools
run: go install ./...
- name: Run testcases
run: go test -v -coverprofile="coverage.txt" -covermode=atomic ./...
- name: Codecov
uses: codecov/codecov-action@v3