try actions
This commit is contained in:
28
.github/workflows/main.yml
vendored
28
.github/workflows/main.yml
vendored
@@ -17,9 +17,9 @@ jobs:
|
|||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v2
|
||||||
- name: Setup Ruby
|
- name: Setup Ruby
|
||||||
uses: ruby/setup-ruby@v1.45.0
|
uses: ruby/setup-ruby@v1.171.0
|
||||||
with:
|
with:
|
||||||
ruby-version: 2.7.1
|
ruby-version: 3.3.0
|
||||||
|
|
||||||
- uses: Borales/actions-yarn@v2.3.0
|
- uses: Borales/actions-yarn@v2.3.0
|
||||||
with:
|
with:
|
||||||
@@ -50,27 +50,3 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
name: code-coverage
|
name: code-coverage
|
||||||
path: coverage/
|
path: coverage/
|
||||||
|
|
||||||
security:
|
|
||||||
runs-on: ubuntu-latest
|
|
||||||
steps:
|
|
||||||
- uses: actions/checkout@v2
|
|
||||||
|
|
||||||
- name: Setup Ruby
|
|
||||||
uses: ruby/setup-ruby@v1.45.0
|
|
||||||
with:
|
|
||||||
ruby-version: 2.7.1
|
|
||||||
|
|
||||||
- name: Install Brakeman
|
|
||||||
run: |
|
|
||||||
gem install brakeman
|
|
||||||
|
|
||||||
- name: Run Brakeman
|
|
||||||
run: |
|
|
||||||
brakeman -f json > tmp/brakeman.json || exit 0
|
|
||||||
|
|
||||||
- name: Brakeman Report
|
|
||||||
uses: devmasx/brakeman-linter-action@v1.0.0
|
|
||||||
env:
|
|
||||||
REPORT_PATH: tmp/brakeman.json
|
|
||||||
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}
|
|
||||||
Reference in New Issue
Block a user