This project runs simple lint-like actions on files in a git repository. The current list of lint actions are:
- check for trailing whitespace
- check Fortran files for use of tab characters
- check Fortran files for lines longer then a specified length
# This workflow will check files in the repository for trailing whitespace and
# Fortran files that use tabs
name: Simple Lint
on: [push, pull_request]
jobs:
lint:
steps:
- uses: actions/checkout@v2
- name: Whitespace Lint
id: wslint
uses: NOAA-GFDL/simple_lint@v3
with:
failure: false
ftn_line_len: 120
- if: ! ${{ steps.wslint.outputs.lintSuccess }}
run: exit 1