Substantial rewrite of the pipeline #11
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Copyright (c) 2023 Roberto Rossini (roberros@uio.no) | |
# SPDX-License-Identifier: MIT | |
name: Run black | |
on: | |
push: | |
branches: [ main ] | |
paths: | |
- ".github/workflows/black.yml" | |
- "bin/*.py" | |
- "bin/pyproject.toml" | |
pull_request: | |
paths: | |
- ".github/workflows/black.yml" | |
- "bin/*.py" | |
- "bin/pyproject.toml" | |
jobs: | |
lint: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Run black | |
uses: psf/black@stable | |
with: | |
src: bin/ | |
jupyter: true |