Skip to content

Commit

Permalink
T-85: bundle-audit using GitHub Actions
Browse files Browse the repository at this point in the history
  • Loading branch information
marian13 committed Feb 13, 2022
1 parent 93f1478 commit 3f55332
Showing 1 changed file with 19 additions and 1 deletion.
20 changes: 19 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -108,13 +108,31 @@ jobs:
path-to-lcov: "./coverage/lcov.info"

coverage:
name: Gather coverage
needs:
- test
runs-on: ubuntu-20.04
name: Gather coverage
steps:
- name: Upload coverage reports to Coveralls
uses: coverallsapp/github-action@master
with:
github-token: ${{ secrets.github_token }}
parallel-finished: true

bundle-audit:
runs-on: ubuntu-20.04
name: bundle-audit
steps:
- uses: actions/checkout@v2
- name: Set up Ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: 3.1
##
# NOTE: Installs the latest compatible Bundler version, runs `bundle install' and caches installed gems.
# - https://github.com/ruby/setup-ruby#usage
# - https://github.com/ruby/setup-ruby#bundler
#
bundler-cache: true
- name: Check for vulnerable gem versions, insecure gem sources, etc...
run: bundle exec bundle-audit check --update

0 comments on commit 3f55332

Please sign in to comment.