Skip to content

chore: rename workflow branches to main #23

chore: rename workflow branches to main

chore: rename workflow branches to main #23

Workflow file for this run

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