Bump github.com/alicebob/miniredis/v2 from 2.32.1 to 2.33.0 (#41) #153
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 | |
on: | |
push: | |
branches: [ "*" ] | |
pull_request: | |
branches: [ master ] | |
# Allows you to run this workflow manually from the Actions tab | |
workflow_dispatch: | |
jobs: | |
build: | |
strategy: | |
matrix: | |
version: ["1.22"] | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Set up Go | |
uses: actions/setup-go@v5 | |
with: | |
go-version: ${{ matrix.version }} | |
cache: true | |
- name: Build | |
run: go build -v ./... | |
test: | |
strategy: | |
matrix: | |
version: ["1.22"] | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Set up Go | |
uses: actions/setup-go@v5 | |
with: | |
go-version: ${{ matrix.version }} | |
cache: true | |
- name: Unit tests | |
run: go test -v ./... | |
race-condition: | |
strategy: | |
matrix: | |
version: ["1.22"] | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Set up Go | |
uses: actions/setup-go@v5 | |
with: | |
go-version: ${{ matrix.version }} | |
cache: true | |
- name: Test race condition | |
run: go test -race -vet=off ./... |