Validate connection in bad state before query execution in the stdlib database/sql driver #1984
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: run-tests | |
permissions: write-all | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
branches: | |
- main | |
jobs: | |
single-node: | |
runs-on: ubuntu-latest | |
strategy: | |
fail-fast: true | |
max-parallel: 1 | |
matrix: | |
go: | |
- "1.23" | |
- "1.22" | |
clickhouse: # https://github.com/ClickHouse/ClickHouse/blob/master/SECURITY.md#scope-and-supported-versions | |
- "24.8" | |
- "24.7" | |
- "24.6" | |
- "24.3" | |
steps: | |
- uses: actions/checkout@main | |
- name: Install Go ${{ matrix.go }} | |
uses: actions/[email protected] | |
with: | |
stable: false | |
go-version: ${{ matrix.go }} | |
- name: Run tests | |
run: | | |
CLICKHOUSE_VERSION=${{ matrix.clickhouse }} make test |