Skip to content

Latest commit

 

History

History
60 lines (36 loc) · 1.31 KB

File metadata and controls

60 lines (36 loc) · 1.31 KB

Setup Codee

Test

Set up a Codee Formatter & Analyser on Linux and Windows runners.

Usage

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

Options

  • version: Version of the Codee tools. See Codee Changelog to pick the latest.

Environment variables

Action updates PATH environment variable for allowing to use codee command.

Runner compatibility

Codee tools are available for Windows x86_64, Linux x86_64 and Linux AArch64 platforms.

License

Setup Codee is MIT licensed.