chore: fix function name in comment #107
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: go-test | |
on: | |
push: | |
tags: | |
- v* | |
branches: | |
- master | |
pull_request: | |
jobs: | |
build: | |
runs-on: ${{ matrix.os }} | |
strategy: | |
matrix: | |
go-version: | |
- '1.21' | |
- '1.22' | |
os: | |
- 'ubuntu-latest' | |
redis: | |
- '7.2' | |
- '7.0' | |
- '6.2' | |
- '6.0' | |
name: Test go ${{ matrix.go-version }} redis ${{ matrix.redis }} on ${{ matrix.os }} | |
steps: | |
- name: Setup redis | |
uses: shogo82148/actions-setup-redis@v1 | |
with: | |
redis-version: ${{ matrix.redis }} | |
- name: Checkout code | |
uses: actions/checkout@v4 | |
- name: Install Go | |
uses: actions/setup-go@v5 | |
with: | |
go-version: ${{ matrix.go-version }} | |
- name: Go Test | |
run: go test -race ./... |