Skip to content

refactor(deps): update actions/cache action to v5 #518

refactor(deps): update actions/cache action to v5

refactor(deps): update actions/cache action to v5 #518

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@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
with:
fetch-depth: 0
- uses: mamba-org/setup-micromamba@0dea6379afdaffa5d528b3d1dabc45da37f443fc # v2
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}