Skip to content

indentation?

indentation? #5

Workflow file for this run

name: Formatting
# Controls when the action will run.
on:
pull_request:
# branches: [develop,release/*,master]
jobs:
linting:

Check failure on line 9 in .github/workflows/formatter.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/formatter.yml

Invalid workflow file

You have an error in your yaml syntax on line 9
name: "Formatter (findent)"
runs-on: ubuntu-20.04
steps:
- name: Setup env.
run: |
sudo apt-get update && sudo apt-get install -yq python3-dev python3-pip python3-tk
pip install findent
- name: Checkout
uses: actions/checkout@v3
with:
fetch-depth: 1
- name: Format
run: |
export FINDENT_FLAGS="-i2 -d3 -f3 -s3 -w3 -t3 -j3 -k- -Rr -c3"
find src/ -name "*.f90" -exec bash -c 'findent < {} > {}.tmp; mv -f {}.tmp {}' \;
git commit -a -m "findent formatting" || true
git push