Skip to content

Fix github actions #144

Fix github actions

Fix github actions #144

Workflow file for this run

name: code-style
on:
push:
branches: 'main'
pull_request:
branches: '*'
jobs:
linting:
name: 'pre-commit hooks'
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
with:
fetch-depth: 0 # Fetch all history for all branches and tags.
- name: Set up conda environment with micromamba
uses: mamba-org/setup-micromamba@v2
with:
environment-file: ci/environment.yml
environment-name: dev-feisty
create-args: python=3.11
- name: Run pre-commit
shell: bash -l {0}
run: |
pre-commit run --all-files