Skip to content

chore: bump workflows, update Go #12

chore: bump workflows, update Go

chore: bump workflows, update Go #12

Workflow file for this run

on: [push, pull_request]
name: Test
jobs:
test:
strategy:
matrix:
go-version: [1.20.x, 1.21.x]
os: [ubuntu-latest]
runs-on: ${{ matrix.os }}
steps:
- name: Install Go
uses: actions/setup-go@v4
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 ./...