Skip to content

Enable passthrough by specifying environment variable name in NVAR_PASSTHROUGH #24

Enable passthrough by specifying environment variable name in NVAR_PASSTHROUGH

Enable passthrough by specifying environment variable name in NVAR_PASSTHROUGH #24

# This workflow uses actions that are not certified by GitHub.
# They are provided by a third-party and are governed by
# separate terms of service, privacy policy, and support
# documentation.
# This workflow will download a prebuilt Ruby version, install dependencies, and run linters
name: Rails - Install dependencies and run linters
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
jobs:
run-lint:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v2
- name: Setup Ruby and install gems
uses: ruby/setup-ruby@v1
with:
bundler-cache: true
- name: Run security checks
run: |
bin/bundler-audit --update
- name: Run linters
run: |
bin/standardrb --no-fix
- name: Run tests
run: |
bin/rspec