From 6f3e33f70a271b5ded404bdc77207257a2fbddaf Mon Sep 17 00:00:00 2001 From: Konstantin Gredeskoul Date: Sun, 30 Jun 2024 15:39:15 -0700 Subject: [PATCH] Run bundle install before license check --- .github/workflows/license.yml | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/.github/workflows/license.yml b/.github/workflows/license.yml index 1d84acb..d5663a3 100644 --- a/.github/workflows/license.yml +++ b/.github/workflows/license.yml @@ -10,7 +10,17 @@ jobs: - uses: actions/checkout@v3 - name: Copy Gemfile - run: cp Gemfile.puma-v6 Gemfile + run: | + cp Gemfile.puma-v6 Gemfile + + - name: Set up Ruby + uses: ruby/setup-ruby@v1 + with: + ruby-version: 3.2.2 + bundler-cache: true # runs 'bun + + - name: Bundle Install + run: bundle check || bundle install - uses: fossas/fossa-action@main # Use a specific version if locking is preferred with: