Skip to content

fix(reflect): zero len slice case #45

fix(reflect): zero len slice case

fix(reflect): zero len slice case #45

Workflow file for this run

name: Tests
on: [ push, pull_request ]
jobs:
compatibility-test:
strategy:
matrix:
go: [ "1.17", "1.18", "1.19", "1.20", "1.21", "1.22" ]
os: [ X64 ]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v4
- name: Set up Go
uses: actions/setup-go@v5
with:
go-version: ${{ matrix.go }}
cache: false # don't use cache for self-hosted runners
- name: Unit Test
run: go test -race ./...
- name: Benchmark
run: go test -bench=. -benchmem -run=none ./... -benchtime=100ms
run-tests:
strategy:
matrix:
os: [ X64, ARM64 ]
runs-on: ${{ matrix.os }}
- uses: actions/checkout@v4

Check failure on line 30 in .github/workflows/tests.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/tests.yml

Invalid workflow file

You have an error in your yaml syntax on line 30
- name: Set up Go
uses: actions/setup-go@v5
with:
go-version: stable
cache: false # don't use cache for self-hosted runners
- name: Frugal/Tests
run: cd tests && go test -race ./...