Skip to content

feat: add xerror package and update xlog log level #15

feat: add xerror package and update xlog log level

feat: add xerror package and update xlog log level #15

Workflow file for this run

# This workflow will build a golang project
# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-go
name: Go
on:
push:
branches: [ "master" ]
pull_request:
branches: [ "master" ]
jobs:
build:
runs-on: ubuntu-latest
timeout-minutes: 15 # 设置整个job的超时时间为15分钟
steps:
- uses: actions/checkout@v4
- name: Set up Go
uses: actions/setup-go@v4
with:
go-version: '1.23'
- name: Build
run: go build -v ./...
timeout-minutes: 5 # 设置构建步骤的超时时间为5分钟
- name: Test
run: go test -v ./...
timeout-minutes: 3 # 设置测试步骤的超时时间为10分钟