Skip to content

chore: bump workflows, update Go #16

chore: bump workflows, update Go

chore: bump workflows, update Go #16

Workflow file for this run

on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
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 ./...