test: requests wait for schema cache load #95
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
name: Check | |
on: | |
workflow_call: | |
secrets: | |
CACHIX_AUTH_TOKEN: | |
required: false | |
pull_request: | |
branches: | |
- main | |
- v[0-9]+ | |
concurrency: | |
# Terminate all previous runs of the same workflow for pull requests | |
group: style-${{ github.head_ref || github.run_id }} | |
cancel-in-progress: true | |
jobs: | |
lint-style: | |
name: Lint & Style | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1 | |
- name: Setup Nix Environment | |
uses: ./.github/actions/setup-nix | |
with: | |
authToken: '${{ secrets.CACHIX_AUTH_TOKEN }}' | |
tools: style.lint.bin style.styleCheck.bin | |
- name: Run linter (check locally with `nix-shell --run postgrest-lint`) | |
run: postgrest-lint | |
- name: Run style check (auto-format with `nix-shell --run postgrest-style`) | |
run: postgrest-style-check |