Skip to content

Lock file maintenance (#411) #221

Lock file maintenance (#411)

Lock file maintenance (#411) #221

Workflow file for this run

name: Style
concurrency:
group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}
cancel-in-progress: true
on:
pull_request:
workflow_dispatch:
push:
branches:
- trunk
jobs:
prek:
runs-on: ubuntu-24.04
steps:
- name: Checkout
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
- name: prek
uses: glotzerlab/workflows/prek@00c67cb577c36bdc2570845fc62d1a30e3383012 # 0.14.0
# This job is used to provide a single requirement for branch merge conditions.
tests_complete:
name: All style checks
if: always()
needs: [prek]
runs-on: ubuntu-24.04
steps:
- run: jq --exit-status 'all(.result == "success")' <<< '${{ toJson(needs) }}'
- name: Done
run: exit 0