chore(ruby): add new linting check workflow for ruby wrapper #1
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
| # .github/workflows/lint.yml | ||
| name: RuboCop Linter | ||
| on: | ||
| push: | ||
| branches: | ||
| - main | ||
| pull_request: | ||
| jobs: | ||
| lint: | ||
| runs-on: ubuntu-latest | ||
| steps: | ||
| - name: Check out code | ||
| uses: actions/checkout@v4 | ||
| - name: Set up Ruby | ||
| uses: ruby/setup-ruby@v1 | ||
| with: | ||
| ruby-version-file: '.ruby-version' | ||
| bundler-cache: true | ||
| - name: Run RuboCop | ||
| <<<<<<< HEAD | ||
| run: bundle exec rubocop | ||
| ======= | ||
| run: bundle exec rubocop | ||
| >>>>>>> b0f1c7e (chore(ruby): add new linting check workflow for ruby wrapper) | ||