Skip to content

Commit

Permalink
fix: trying to fix
Browse files Browse the repository at this point in the history
  • Loading branch information
mewthu2 committed Apr 10, 2024
1 parent 1d2ba95 commit 88842b4
Showing 1 changed file with 29 additions and 29 deletions.
58 changes: 29 additions & 29 deletions .github/workflows/rubyonrails.yml
Original file line number Diff line number Diff line change
@@ -1,29 +1,29 @@
# 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: [ "master" ]
pull_request:
branches: [ "master" ]
jobs:
lint:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v3
- name: Install Ruby and gems
uses: ruby/setup-ruby@55283cc23133118229fd3f97f9336ee23a179fcf # v1.146.0
with:
bundler-cache: true
# Add or replace any other lints here
- name: Security audit dependencies
run: bundler-audit --update
- name: Security audit application code
run: brakeman -q -w2
- name: Lint Ruby files
run: rubocop --parallel
# # 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: [ "master" ]
# pull_request:
# branches: [ "master" ]
# jobs:
# lint:
# runs-on: ubuntu-latest
# steps:
# - name: Checkout code
# uses: actions/checkout@v3
# - name: Install Ruby and gems
# uses: ruby/setup-ruby@55283cc23133118229fd3f97f9336ee23a179fcf # v1.146.0
# with:
# bundler-cache: true
# # Add or replace any other lints here
# - name: Security audit dependencies
# run: bundler-audit --update
# - name: Security audit application code
# run: brakeman -q -w2
# - name: Lint Ruby files
# run: rubocop --parallel

0 comments on commit 88842b4

Please sign in to comment.