Skip to content

narinfo: Fix the splitOnce function (#124) #562

narinfo: Fix the splitOnce function (#124)

narinfo: Fix the splitOnce function (#124) #562

Workflow file for this run

name: CI
on:
push:
branches:
- main
pull_request:
jobs:
fixtures:
name: fixtures-up-to-date
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: cachix/install-nix-action@v22
with:
install_url: https://releases.nixos.org/nix/nix-2.12.1/install
- uses: actions/setup-go@v4
with:
go-version: "1.21"
- name: Build fixtures
run: bash -c 'cd test/testdata && ./build-fixtures.go'
- name: Diff fixtures
run: git diff --exit-code test/testdata
build:
strategy:
matrix:
os: ["ubuntu-latest", "macos-latest", "windows-latest"]
go: ["1.20", "1.21"]
runs-on: ${{ matrix.os }}
name: Build (Go ${{ matrix.go }}, OS ${{ matrix.os }})
steps:
- uses: actions/checkout@v3
- uses: actions/setup-go@v4
with:
go-version: ${{ matrix.go }}
- name: go test -race -bench='.+' -v ./...
run: go test -race -bench='.+' -v ./...