Set up a Codee Formatter & Analyser on Linux and Windows runners.
One can use this action in the following way to check that codee format does not change source code:
jobs:
format:
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest, windows-latest, ubuntu-24.04-arm]
steps:
- uses: actions/checkout@v4
- uses: foxtran/setup-codee@v1
- name: Run Fortran formatter
run: |
codee format . --verbose
- name: Check for uncommitted changes
run: |
git diff --exit-code- version: Version of the Codee tools. See Codee Changelog to pick the latest.
Action updates PATH environment variable for allowing to use codee command.
Codee tools are available for Windows x86_64, Linux x86_64 and Linux AArch64 platforms.
Setup Codee is MIT licensed.