Generate slug from title for standard edition's primary translation [WHIT-2913] #4721
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Flog - Code Complexity | |
| on: | |
| push: | |
| pull_request: | |
| jobs: | |
| flog: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v6 | |
| - uses: ruby/setup-ruby@v1 | |
| with: | |
| bundler-cache: true | |
| - name: Ensure dev/test gems are installed | |
| run: | | |
| bundle config set with 'development test' | |
| bundle install --jobs 4 --retry 3 | |
| - name: Generate complexity.txt | |
| run: | | |
| find app lib -path 'lib/engines/*' -prune -o -type f -name '*.rb' -print0 \ | |
| | xargs -0 bundle exec flog --all --methods-only --continue \ | |
| > complexity.txt | |
| cat complexity.txt | |
| - uses: actions/upload-artifact@v6 | |
| with: | |
| name: flog-complexity-snapshot | |
| path: | | |
| complexity.txt |