Skip to content

Let HasEmail use the new FindIDByFieldValue function, ref #1 #8

Let HasEmail use the new FindIDByFieldValue function, ref #1

Let HasEmail use the new FindIDByFieldValue function, ref #1 #8

Workflow file for this run

name: Build
on:
push:
branches:
- main
paths-ignore:
- "**/*.md"
pull_request:
paths-ignore:
- "**/*.md"
jobs:
test:
strategy:
matrix:
go-version: [1.21.x, 1.22.x, 1.23.x]
db-version: [6.x, 7.x]
distribution: [redis]
runs-on: ubuntu-latest
steps:
- name: Start Database
uses: shogo82148/actions-setup-redis@v1
with:
redis-version: ${{ matrix.db-version }}
distribution: ${{ matrix.distribution }}
auto-start: "true"
- name: Wait for Database to Start
run: sleep 10
- name: Fetch Repository
uses: actions/checkout@v4
- name: Install Go
uses: actions/setup-go@v5
with:
go-version: ${{ matrix.go-version }}
go-version-file: go.mod
cache-dependency-path: go.sum
- name: Test
working-directory: .
run: go run gotest.tools/gotestsum@latest -f testname -- ./... -race -count=1 -shuffle=on