We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 294983c + df39fd3 commit b12b334Copy full SHA for b12b334
1 file changed
.github/workflows/fossa-ruby-bundler.yml
@@ -22,9 +22,22 @@ jobs:
22
FOSSA_ANALYZE_RESULT: ""
23
24
steps:
25
- - uses: actions/checkout@v3
+ - uses: actions/checkout@v4
26
- uses: ruby/setup-ruby@v1
27
with:
28
- ruby-version: '3.2'
+ ruby-version: '3.3'
29
+ - name: Ensure that a Gemfile.lock file exists for each Gemfile file
30
+ run: |
31
+ echo "Ensuring that Gemfile.lock files exist..."
32
+ for gemfile in $(find . -name Gemfile -not -path './test/**' -not -path './spec/**'); do
33
+ dir=${gemfile%/*}
34
+ echo "Found Gemfile at $dir"
35
+ if [[ -e "$dir/Gemfile.lock" ]]; then
36
+ echo "Found Gemfile.lock at $dir"
37
+ else
38
+ echo "No Gemfile.lock found at $dir - generating one..."
39
+ bundle lock --gemfile "$dir/Gemfile"
40
+ fi
41
+ done
42
- id: fossa-cli
43
uses: newrelic/.github/.github/composite/fossa-composite@main
0 commit comments