Skip to content

feat(gqlerror): optimize Error method perfomance #83

feat(gqlerror): optimize Error method perfomance

feat(gqlerror): optimize Error method perfomance #83

Workflow file for this run

name: Test
on:
workflow_dispatch:
push:
branches:
- master
pull_request:
types: [ opened, synchronize ]
# When a new revision is pushed to a PR, cancel all in-progress CI runs for that
# PR. See https://docs.github.com/en/actions/using-jobs/using-concurrency
concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
cancel-in-progress: true
jobs:
go-test:
name: Go Test (${{ matrix.os }})
runs-on: ${{ matrix.run }}
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest]
go: ["1.21", "1.22"]
# MacOS is disabled due to the high cost multiplier on GH Actions.
#- os: darwin
# run: macos-latest
# Windows not allowed currently because of line-ending conversion issues.
#- os: windows
# run: windows-latest
continue-on-error: true
steps:
- uses: actions/checkout@v4
- uses: actions/setup-go@v5
with:
go-version: ${{ matrix.go }}
- name: Unit Test Golang
run: go test ./...
timeout-minutes: 30