Skip to content

fix: stabilize through locking #102

fix: stabilize through locking

fix: stabilize through locking #102

Workflow file for this run

name: Test
on:
pull_request:
paths-ignore:
- "**/*.md"
push:
paths-ignore:
- "**/*.md"
branches:
- "main"
workflow_dispatch:
inputs:
go-test-count:
description: 'Test Count'
required: true
default: 1
jobs:
unit-tests:
env:
GOTOOLCHAIN: local
runs-on: ubuntu-latest
strategy:
matrix:
go-version: [ '1.22.5' ]
steps:
- uses: actions/checkout@v4
- name: Setup Go ${{ matrix.go-version }}
uses: actions/setup-go@v5
with:
go-version: ${{ matrix.go-version }}
- name: Display Go version
run: go version
- name: Run tests
run: sudo go test ./... -test.count=${{ github.event.inputs.go-test-count > 0 && github.event.inputs.go-test-count || 1 }}
- name: Run simple example
run: sudo go run examples/simple/main.go
- name: Run activation example
run: sudo go run examples/activation/main.go
- name: Run thinpool example
run: sudo go run examples/thinpool/main.go