Skip to content

fix(config): surface invalid config and honor configured SQL extensions #1617

fix(config): surface invalid config and honor configured SQL extensions

fix(config): surface invalid config and honor configured SQL extensions #1617

Workflow file for this run

name: CodSpeed
on:
push:
branches:
- "main"
pull_request:
workflow_dispatch:
permissions:
contents: read
id-token: write
jobs:
benchmarks:
name: Run benchmarks
runs-on: codspeed-macro
steps:
- uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # ratchet:actions/checkout@v7.0.0
- name: Setup rust toolchain, cache and cargo-codspeed binary
uses: moonrepo/setup-rust@abb2d32350334249b178c401e5ec5836e0cd88d3 # ratchet:moonrepo/setup-rust@v1
with:
channel: stable
cache-target: release
bins: cargo-codspeed
- name: Setup Python
uses: actions/setup-python@ece7cb06caefa5fff74198d8649806c4678c61a1 # ratchet:actions/setup-python@v6.3.0
with:
python-version: "3.12"
- name: Build the benchmark target(s)
run: cargo codspeed build --package sqruff-lib
- name: Run the benchmarks
uses: CodSpeedHQ/action@a4a36bb07c0638b0b4ca52bf1f3dad1b4289e52f # ratchet:CodSpeedHQ/action@v4.18.1
with:
run: cargo codspeed run --package sqruff-lib
mode: walltime