Skip to content

Commit

Permalink
moved gemcleanup to setup-languages step
Browse files Browse the repository at this point in the history
  • Loading branch information
GeorgeCodes19 committed May 1, 2024
1 parent b7a2cb2 commit 535a1bc
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 5 deletions.
2 changes: 0 additions & 2 deletions .github/actions/cleanup-gemfile/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,5 +10,3 @@ runs:
sed -i '/debase-ruby_core_source/d' ./Gemfile
sed -i '/debase/d' ./Gemfile
sed -i '/ruby-debug-ide/d' ./Gemfile
bundle install
bundle lock --add-platform x86_64-linux
3 changes: 3 additions & 0 deletions .github/actions/setup-languages/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,9 @@ description: Set up ruby, javascript, and dependencies
runs:
using: composite
steps:
- name: Cleanup gemfile
uses: ./.github/actions/cleanup-gemfile

- name: Set up Ruby
uses: ruby/setup-ruby@v1
with:
Expand Down
1 change: 0 additions & 1 deletion .github/workflows/brakeman-analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,6 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: ./.github/actions/cleanup-gemfile

- uses: ./.github/actions/setup-languages

Expand Down
2 changes: 0 additions & 2 deletions .github/workflows/dependency-scans.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,6 @@ jobs:

steps:
- uses: actions/checkout@v4
- uses: ./.github/actions/cleanup-gemfile

- uses: ./.github/actions/setup-languages

- name: Update advisory database and run checks
Expand Down

0 comments on commit 535a1bc

Please sign in to comment.