Skip to content

Commit cc17790

Browse files
committed
Split bundle audit into separate workflow
1 parent 6e0a5be commit cc17790

2 files changed

Lines changed: 20 additions & 2 deletions

File tree

.github/workflows/audit.yml

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
name: Gem audit
2+
3+
on: [push, pull_request]
4+
5+
jobs:
6+
test:
7+
runs-on: ubuntu-latest
8+
steps:
9+
- name: Install system dependencies
10+
run: |
11+
sudo apt-get update
12+
sudo apt-get install imagemagick
13+
- name: Check out code
14+
uses: actions/checkout@v6
15+
- name: Install Ruby & gems
16+
uses: ruby/setup-ruby@v1
17+
with:
18+
bundler-cache: true
19+
- name: Audit gems
20+
run: bundle exec bundle-audit check --update

.github/workflows/test.yml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -64,5 +64,3 @@ jobs:
6464
run: bundle exec rails test
6565
- name: Run system tests
6666
run: bundle exec rails test:system
67-
- name: Audit gems
68-
run: bundle exec bundle-audit check --update

0 commit comments

Comments
 (0)