Bump yard from 0.9.38 to 0.9.44 #2035
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
| --- | |
| ########################### | |
| ########################### | |
| ## Linter GitHub Actions ## | |
| ########################### | |
| ########################### | |
| name: Lint Code Base | |
| # | |
| # Documentation: | |
| # https://help.github.com/en/articles/workflow-syntax-for-github-actions | |
| # | |
| ############################# | |
| # Start the job on all push or pr # | |
| on: | |
| push: | |
| branches: [ main ] | |
| pull_request: | |
| branches: [ main ] | |
| permissions: {} | |
| ############### | |
| # Set the Job # | |
| ############### | |
| jobs: | |
| build: | |
| # Name the Job | |
| name: Lint Code Base | |
| # Set the agent to run on | |
| runs-on: ubuntu-latest | |
| permissions: | |
| contents: read | |
| packages: read | |
| # To report GitHub Actions status checks | |
| statuses: write | |
| ################## | |
| # Load all steps # | |
| ################## | |
| steps: | |
| ########################## | |
| # Checkout the code base # | |
| ########################## | |
| - name: Checkout Code | |
| uses: actions/checkout@v5 | |
| with: | |
| # super-linter needs the full git history to get the | |
| # list of files that changed across commits | |
| fetch-depth: 0 | |
| - name: Set up Ruby | |
| uses: ruby/setup-ruby@v1 | |
| with: | |
| bundler-cache: true | |
| - name: Rubocop | |
| # SuperLinter uses the latest Rubocop, which causes a malloc error | |
| run: bundle exec rubocop | |
| ################################ | |
| # Run Linter against code base # | |
| ################################ | |
| - name: Super-Linter | |
| uses: super-linter/super-linter/slim@v7.3.0 | |
| env: | |
| GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
| LINTER_RULES_PATH: / | |
| RUBY_CONFIG_FILE: .rubocop.yml | |
| # Enable only the following linters | |
| # VALIDATE_RUBY: true | |
| VALIDATE_BASH: true | |
| VALIDATE_JSON: true | |
| VALIDATE_YAML: true | |
| GITHUB_ACTIONS: true |