Skip to content

test: update GHA workflows #28

test: update GHA workflows

test: update GHA workflows #28

Workflow file for this run

on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
name: Test
jobs:
test:
strategy:
matrix:
go-version: [1.22.x, 1.23.x]
os: [ubuntu-latest]
runs-on: ${{ matrix.os }}
steps:
- name: Install Go
uses: actions/setup-go@v5
with:
go-version: ${{ matrix.go-version }}
- name: Checkout code
uses: actions/checkout@v4
- name: Test
run: go test -v ./...
- name: Test Race
run: go test -v -race ./...
- name: Bench
run: go test -v -bench . -benchmem -run nothing ./...