Skip to content

Codebase improvements #612

Codebase improvements

Codebase improvements #612

Workflow file for this run

on: [push, pull_request]
name: Test
jobs:
test:
strategy:
matrix:
go-version: [1.22.x, 1.23.x, 1.24.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
shell: bash
run: |
for i in 1 2 3; do
echo "Attempt $i of 3"
go test -v -bench=. ./... && break || if [ $i -eq 3 ]; then exit 1; fi
done