Optimize code structure to add Node object pool to LockFree CAS Queue. #46
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
on: | |
push: | |
branches: ["main"] | |
pull_request: | |
branches: ["main"] | |
name: Test | |
jobs: | |
test: | |
strategy: | |
matrix: | |
go-version: [1.19.x, 1.20.x, 1.21.x, 1.22.x] | |
os: [ubuntu-latest, macos-latest, windows-latest] | |
runs-on: ${{ matrix.os }} | |
steps: | |
- uses: actions/setup-go@v4 | |
with: | |
go-version: "${{ matrix.go-version }}" | |
- uses: actions/checkout@v3 | |
- name: Test | |
run: go test -v . && go test -v ./internal/lockfree && go test -v ./internal/utils |