chore: stop testing Rails secrets #199
This file contains 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: Lint Ruby | |
on: | |
push: | |
branches: | |
- master | |
pull_request: | |
jobs: | |
rubocop: | |
runs-on: ubuntu-latest | |
env: | |
BUNDLE_GEMFILE: "gemfiles/rubocop.gemfile" | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: ruby/setup-ruby@v1 | |
with: | |
ruby-version: 3.1 | |
bundler-cache: true | |
- name: Lint Ruby code with RuboCop | |
run: | | |
bundle exec rubocop | |
steep: | |
runs-on: ubuntu-latest | |
env: | |
BUNDLE_JOBS: 4 | |
BUNDLE_RETRY: 3 | |
BUNDLE_FORCE_RUBY_PLATFORM: 1 | |
CI: true | |
strategy: | |
matrix: | |
ruby: ["3.2"] | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: ruby/setup-ruby@v1 | |
with: | |
ruby-version: ${{ matrix.ruby }} | |
bundler-cache: true | |
- name: Install RBS collection | |
run: | | |
bundle exec rbs collection install | |
- name: Generate RBS for test config | |
run: | | |
bundle exec rake rbs:generate | |
- name: Run Steep | |
run: | | |
bundle exec rake steep |