Skip to content

Bump actions/checkout from 3 to 4 #975

Bump actions/checkout from 3 to 4

Bump actions/checkout from 3 to 4 #975

Workflow file for this run

name: Contribution checks
on:
push:
branches:
- master
- maint/*
pull_request:
branches:
- master
- maint/*
defaults:
run:
shell: bash
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
permissions:
contents: read
jobs:
stable:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: ['ubuntu-latest']
python-version: [3]
steps:
- uses: actions/checkout@v4
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
- name: Display Python version
run: python -c "import sys; print(sys.version)"
- name: Install black/isort
run: python -m pip install black isort[colors]
- name: Check fMRIPrep
run: |
python -m black --diff --color --check fmriprep
python -m isort --diff --color --check fmriprep
- name: Check wrapper
run: |
python -m black --diff --color --check wrapper
python -m isort --diff --color --check wrapper
codespell:
name: Check for spelling errors
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Codespell
uses: codespell-project/actions-codespell@v1