Skip to content

Commit

Permalink
FIX: use ruby 3.2.2 for test scipts since 3.3.4 is not accepted
Browse files Browse the repository at this point in the history
  • Loading branch information
benaitcheson committed Jul 23, 2024
1 parent 7204a01 commit c6bd24c
Showing 1 changed file with 3 additions and 13 deletions.
16 changes: 3 additions & 13 deletions .github/workflows/rubyonrails.yml
Original file line number Diff line number Diff line change
@@ -1,15 +1,3 @@
# 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 install a prebuilt Ruby version, install dependencies, and
# run tests and linters.
name: "Ruby on Rails CI"
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
jobs:
test:
runs-on: ubuntu-latest
Expand All @@ -32,6 +20,7 @@ jobs:
- name: Install Ruby and gems
uses: ruby/setup-ruby@55283cc23133118229fd3f97f9336ee23a179fcf # v1.146.0
with:
ruby-version: 3.2.2
bundler-cache: true
# Add or replace database setup steps here
- name: Set up database schema
Expand All @@ -48,11 +37,12 @@ jobs:
- name: Install Ruby and gems
uses: ruby/setup-ruby@55283cc23133118229fd3f97f9336ee23a179fcf # v1.146.0
with:
ruby-version: 3.2.2
bundler-cache: true
# Add or replace any other lints here
- name: Security audit dependencies
run: bin/bundler-audit --update
- name: Security audit application code
run: bin/brakeman -q -w2
- name: Lint Ruby files
run: bin/rubocop --parallel
run: bin/rubocop --parallel

0 comments on commit c6bd24c

Please sign in to comment.