From 0833d5edf113e136024596518fc27b2d5a513104 Mon Sep 17 00:00:00 2001 From: Tim Liner Date: Mon, 10 Jun 2024 13:13:02 -0600 Subject: [PATCH 1/2] ci: Update github-action to use ruby namespace setup-ruby --- .github/workflows/rspec.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/rspec.yml b/.github/workflows/rspec.yml index 26b813a..c872d13 100644 --- a/.github/workflows/rspec.yml +++ b/.github/workflows/rspec.yml @@ -9,7 +9,7 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v2 - - uses: actions/setup-ruby@v1 + - uses: ruby/setup-ruby@v1 with: ruby-version: '2.7' - run: gem install rspec bundler From 33052aec0eb130acdf72b91dd831ed3968a59068 Mon Sep 17 00:00:00 2001 From: Tim Liner Date: Mon, 10 Jun 2024 13:13:09 -0600 Subject: [PATCH 2/2] ci: Remove unnecessary gem installs from github-action bundler is installed in setup-ruby and rspec is installed via the gemspec --- .github/workflows/rspec.yml | 1 - 1 file changed, 1 deletion(-) diff --git a/.github/workflows/rspec.yml b/.github/workflows/rspec.yml index c872d13..0c0b595 100644 --- a/.github/workflows/rspec.yml +++ b/.github/workflows/rspec.yml @@ -12,6 +12,5 @@ jobs: - uses: ruby/setup-ruby@v1 with: ruby-version: '2.7' - - run: gem install rspec bundler - run: bundle install - run: rspec spec