Skip to content

BLD/DEV/CI: add and use Pixi package definitions #737

BLD/DEV/CI: add and use Pixi package definitions

BLD/DEV/CI: add and use Pixi package definitions #737

Workflow file for this run

name: Format
on: [ push, pull_request ]
permissions:
contents: read # to fetch code (actions/checkout)
concurrency:
group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}
cancel-in-progress: true
jobs:
format:
name: Check formatting
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
- uses: prefix-dev/setup-pixi@a09b6247153796b190642a2b53fac4241043cf6f # v0.10.0
with:
pixi-version: v0.76.1
cache: true
environments: lint
- name: Check for formatting violations
run: |
pixi run format-dry-error
echo "Please execute 'pixi run format' to fix any errors."