build(deps): bump github.com/stretchr/testify from 1.8.4 to 1.9.0 in /mssql #442
Workflow file for this run
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: | |
- master | |
- main | |
paths: | |
- 'mssql/**' | |
pull_request: | |
paths: | |
- 'mssql/**' | |
name: "Tests MSSQL" | |
jobs: | |
Tests: | |
runs-on: ubuntu-latest | |
services: | |
mssql: | |
image: 'mcmoe/mssqldocker:latest' | |
ports: | |
- '1433:1433' | |
env: | |
ACCEPT_EULA: Y | |
SA_PASSWORD: MsSql!1234 | |
MSSQL_DB: master | |
MSSQL_USER: sa | |
MSSQL_PASSWORD: MsSql!1234 | |
options: >- | |
--health-cmd "/opt/mssql-tools/bin/sqlcmd -U sa -P $SA_PASSWORD -Q 'select 1' -b -o /dev/null" | |
--health-interval 1s | |
--health-timeout 30s | |
--health-start-period 10s | |
--health-retries 20 | |
strategy: | |
matrix: | |
go-version: | |
- 1.19.x | |
- 1.20.x | |
- 1.21.x | |
steps: | |
- name: Fetch Repository | |
uses: actions/checkout@v4 | |
- name: Install Go | |
uses: actions/setup-go@v5 | |
with: | |
go-version: '${{ matrix.go-version }}' | |
- name: Run Test | |
run: cd ./mssql && go test ./... -v -race | |
env: | |
MSSQL_DATABASE: master | |
MSSQL_USERNAME: sa | |
MSSQL_PASSWORD: MsSql!1234 |