working on image feature
This commit is contained in:
@@ -8,6 +8,8 @@ on:
|
||||
jobs:
|
||||
scan_ruby:
|
||||
runs-on: ubuntu-latest
|
||||
container:
|
||||
image: ruby:4.0.6-bullseye
|
||||
|
||||
steps:
|
||||
- name: Checkout code
|
||||
@@ -20,12 +22,15 @@ jobs:
|
||||
|
||||
- name: Scan for common Rails security vulnerabilities using static analysis
|
||||
run: bin/brakeman --no-pager
|
||||
|
||||
|
||||
- name: Scan for known security vulnerabilities in gems used
|
||||
run: bin/bundler-audit
|
||||
|
||||
|
||||
scan_js:
|
||||
runs-on: ubuntu-latest
|
||||
container:
|
||||
image: ruby:4.0.6-bullseye
|
||||
|
||||
|
||||
steps:
|
||||
- name: Checkout code
|
||||
@@ -41,6 +46,9 @@ jobs:
|
||||
|
||||
lint:
|
||||
runs-on: ubuntu-latest
|
||||
container:
|
||||
image: ruby:4.0.6-bullseye
|
||||
|
||||
env:
|
||||
RUBOCOP_CACHE_ROOT: tmp/rubocop
|
||||
steps:
|
||||
@@ -64,4 +72,3 @@ jobs:
|
||||
|
||||
- name: Lint code for consistent style
|
||||
run: bin/rubocop -f github
|
||||
|
||||
|
||||
Reference in New Issue
Block a user