Skip to content

Update .ruby-version #19

Update .ruby-version

Update .ruby-version #19

Workflow file for this run

name: CI
on:
push:
branches:
- main
jobs:
lint:
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v3
- name: Set up Ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: 3.2
- name: Install dependencies
run: bundle install
- name: Run linter
run: bundle exec rubocop
scan_js:
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v3
- name: Set up Node.js
uses: actions/setup-node@v3
with:
node-version: 18
- name: Install dependencies
run: npm install
- name: Run JS Scanner
run: npm run lint
scan_ruby:
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v3
- name: Set up Ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: 3.2
- name: Install dependencies
run: bundle install
- name: Run Ruby Security Scanner
run: bundle exec brakeman
test:
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v3
- name: Set up Ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: 3.2
- name: Install dependencies
run: bundle install
- name: Run tests
run: bundle exec rspec