Skip to content

Merge pull request #9 from thaJeztah/fix_panic #27

Merge pull request #9 from thaJeztah/fix_panic

Merge pull request #9 from thaJeztah/fix_panic #27

Workflow file for this run

name: test
permissions:
contents: read
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
on: [push, pull_request]
jobs:
test:
name: ${{ matrix.platform }} (${{ matrix.go-version || 'oldest' }})
timeout-minutes: 10
strategy:
fail-fast: false
matrix:
go-version:
- "" # do not specify go-version to fall back on go-version-file (use go.mod); see https://github.com/actions/setup-go/issues/450#issuecomment-3620402646
- "oldstable"
- "stable"
platform: [ubuntu-latest,windows-latest, macos-latest]
runs-on: ${{ matrix.platform }}
steps:
- name: Checkout code
uses: actions/checkout@v6
- name: Install Go ${{ matrix.go-version }}
uses: actions/setup-go@v6
with:
go-version: ${{ matrix.go-version }}
go-version-file: "go.mod" # used when go-version is not specified.
- name: Test
run: go test -v ./...