Skip to content

Commit

Permalink
Move bundle-audit to GitHub Actions
Browse files Browse the repository at this point in the history
Following the GitHub Actions pattern of having one check per service,
rather than one big check for faster feedback.
  • Loading branch information
nickcharlton committed Aug 8, 2022
1 parent 7cde042 commit 4235766
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 3 deletions.
3 changes: 0 additions & 3 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,9 +43,6 @@ commands:
# Run the tests
- run: bundle exec rspec

# Check vulnerabilities
- run: bundle exec rake bundler:audit

default_job: &default_job
working_directory: ~/administrate

Expand Down
13 changes: 13 additions & 0 deletions .github/workflows/bundle-audit.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
---
name: Bundler Audit
on: [push]

jobs:
audit:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: 'Bundler Audit'
uses: andrewmcodes/bundler-audit-action@main
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit 4235766

Please sign in to comment.