Skip to content

Commit

Permalink
Refactor Radon analysis workflow to streamline output handling and re…
Browse files Browse the repository at this point in the history
…move redundant step
  • Loading branch information
josephmancuso committed Nov 20, 2024
1 parent 162fced commit e364693
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions .github/workflows/radon-analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,13 +25,11 @@ jobs:
pip install radon
- name: Run Radon Cyclomatic Complexity
run: |
radon cc -s -a src/masoniteorm/collection > radon_output.txt
- name: Read Radon Output
id: radon
run: |
radon cc -s -a src/masoniteorm/collection > radon_output.txt
output=$(cat radon_output.txt)
echo "$output"
echo "::set-output name=radon_output::$output"
- name: Comment on Pull Request
Expand All @@ -43,4 +41,4 @@ jobs:
message: |
```console
${{ steps.radon.outputs.radon_output }}
```
```

0 comments on commit e364693

Please sign in to comment.