Skip to content

refactor(deps): lock file maintenance #299

refactor(deps): lock file maintenance

refactor(deps): lock file maintenance #299

Workflow file for this run

name: pre-commit
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
on:
pull_request:
push:
branches:
- '**'
jobs:
pre-commit:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4
with:
fetch-depth: 0
- uses: mamba-org/setup-micromamba@f8b8a1e23a26f60a44c853292711bacfd3eac822 # v1
with:
micromamba-version: 1.5.8-0
environment-file: env.yml
init-shell: >-
bash
cache-environment: true
- name: Setup poetry
run: |
poetry config virtualenvs.create false
poetry install
poetry build
shell: micromamba-shell {0}
- name: Run pre-commit
run: pre-commit run --all-files
shell: micromamba-shell {0}