Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Move bundle-audit to GitHub Actions #2237

Merged
merged 1 commit into from
Aug 11, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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 }}
1 change: 0 additions & 1 deletion Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@ gem "unicorn"
group :development, :test do
gem "appraisal"
gem "awesome_print"
gem "bundler-audit", require: false
gem "byebug"
gem "dotenv-rails"
gem "factory_bot_rails"
Expand Down
6 changes: 1 addition & 5 deletions Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -95,9 +95,6 @@ GEM
parser (>= 2.4)
smart_properties
builder (3.2.4)
bundler-audit (0.9.1)
bundler (>= 1.2.0, < 3)
thor (~> 1.0)
byebug (11.1.3)
capybara (3.37.1)
addressable
Expand Down Expand Up @@ -338,7 +335,6 @@ DEPENDENCIES
ammeter
appraisal
awesome_print
bundler-audit
byebug
capybara
database_cleaner
Expand Down Expand Up @@ -369,4 +365,4 @@ DEPENDENCIES
yard

BUNDLED WITH
2.3.6
2.3.10
2 changes: 0 additions & 2 deletions Rakefile
Original file line number Diff line number Diff line change
Expand Up @@ -28,5 +28,3 @@ if defined? RSpec
t.verbose = false
end
end

task default: "bundler:audit"
1 change: 0 additions & 1 deletion gemfiles/rails60.gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@ gem "rails", "~> 6.0.3.4"
group :development, :test do
gem "appraisal"
gem "awesome_print"
gem "bundler-audit", require: false
gem "byebug"
gem "dotenv-rails"
gem "factory_bot_rails"
Expand Down
1 change: 0 additions & 1 deletion gemfiles/rails61.gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@ gem "rails", "~> 6.1"
group :development, :test do
gem "appraisal"
gem "awesome_print"
gem "bundler-audit", require: false
gem "byebug"
gem "dotenv-rails"
gem "factory_bot_rails"
Expand Down
1 change: 0 additions & 1 deletion gemfiles/rails70.gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@ gem "rails", "~> 6.1"
group :development, :test do
gem "appraisal"
gem "awesome_print"
gem "bundler-audit", require: false
gem "byebug"
gem "dotenv-rails"
gem "factory_bot_rails"
Expand Down
12 changes: 0 additions & 12 deletions spec/example_app/lib/tasks/bundler_audit.rake

This file was deleted.