Fix #3258
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
name: Check style | |
on: [push, pull_request] | |
jobs: | |
style: | |
defaults: | |
run: | |
shell: bash -l {0} | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-node@v4 | |
- name: Install markdownlint | |
run: | | |
npm install markdownlint --save-dev -g | |
markdownlint --version | |
- uses: psf/black@stable | |
- name: Set up Python 3.12 | |
uses: actions/setup-python@v5 | |
with: | |
python-version: '3.12' | |
- name: Setup miniconda | |
uses: conda-incubator/setup-miniconda@v3 | |
with: | |
python-version: 3.12 | |
auto-update-conda: true | |
mamba-version: "*" | |
channels: conda-forge,defaults | |
activate-environment: AST | |
environment-file: environment.yml | |
- name: Install shellcheck and checkbashisms | |
run: sudo apt update && sudo apt install shellcheck devscripts | |
- name: Check style | |
run: make style |