We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent dd6f9de commit a81d1d4Copy full SHA for a81d1d4
README.md
@@ -15,20 +15,28 @@ Set up a Codee Formatter & Analyser on Linux and Windows runners.
15
16
## Usage
17
18
+One can use this action in the following way to check that `codee format` does not change source code:
19
+
20
```yaml
21
jobs:
- test:
22
+ format:
23
runs-on: ${{ matrix.os }}
24
strategy:
25
fail-fast: false
26
matrix:
27
os: [ubuntu-latest, windows-latest, ubuntu-24.04-arm]
28
29
steps:
- - uses: foxtran/setup-codee@v1
30
+ - uses: actions/checkout@v4
31
+ - uses: foxtran/setup-codee@v1
32
33
+ - name: Run Fortran formatter
34
+ run: |
35
+ codee format . --verbose
36
- - run: |
- codee format --help
37
+ - name: Check for uncommitted changes
38
39
+ git diff --exit-code
40
```
41
42
0 commit comments