Skip to content

ci(migration-sql): checkout base commit to figure out the base revision #827

ci(migration-sql): checkout base commit to figure out the base revision

ci(migration-sql): checkout base commit to figure out the base revision #827

Workflow file for this run

name: "Lint & Test"
on:
workflow_dispatch:
push:
branches:
- main
pull_request:
jobs:
lint_test:
runs-on: ubuntu-latest
steps:
- name: "Checkout repository"
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
- name: "Setup PDM"
uses: pdm-project/setup-pdm@568ddd69406b30de1774ec0044b73ae06e716aa4 # v4
with:
python-version: "3.12"
cache: true
- name: "Install dependencies"
run: pdm install --dev
- name: "Run precommit"
run: pdm precommit
- name: "Run tests"
run: pdm test