Skip to content

Merge pull request #1 from leggetter/patch-1 #4

Merge pull request #1 from leggetter/patch-1

Merge pull request #1 from leggetter/patch-1 #4

Workflow file for this run

name: Ruby CI/CD
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
jobs:
clean:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
ruby-version: [ '3.0', '3.1', '3.2', '3.3' ]
name: Ruby ${{ matrix.ruby-version }}
steps:
- uses: actions/checkout@v4
- name: Set up Ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: ${{ matrix.ruby-version }}
bundler-cache: true
- name: Install dependencies
run: bundle install
- name: Run linter
run: bundle exec standardrb
- name: Run security checks
run: |
gem install bundler-audit
bundle audit check --update