feat: thread-safe queue ring buffer #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: Golang CI | |
on: | |
push: | |
branches: [ main ] | |
pull_request: | |
branches: [ main ] | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
golang-version: ['1.2', '1.20'] | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Set up Golang | |
uses: actions/setup-go@v4 | |
with: | |
go-version: ${{ matrix.golang-version }} | |
- name: Run tests | |
run: go test | |
test-v2: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
golang-version: ['1.18', '1.20'] | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Set up Golang | |
uses: actions/setup-go@v4 | |
with: | |
go-version: ${{ matrix.golang-version }} | |
- name: Run tests | |
run: cd v2 && go test |