prepare more commands and tests #1
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Test | |
on: | |
pull_request: | |
paths-ignore: | |
- "**/*.md" | |
push: | |
paths-ignore: | |
- "**/*.md" | |
branches: | |
- "main" | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
go-version: [ '1.22' ] | |
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: go test ./... | |
- name: Run simple example | |
run: go run examples/simple/main.go | |
- name: Run activation example | |
run: go run examples/activation/main.go | |
- name: Run thinpool example | |
run: go run examples/thinpool/main.go |