From b1faa132dfdb878c55170173682137b6b632d61b Mon Sep 17 00:00:00 2001 From: Dino Date: Tue, 12 Mar 2024 14:38:55 +0100 Subject: [PATCH] fix: GHA --- .github/workflows/main.yml | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index b2b6a30..fb8ec9b 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -6,12 +6,18 @@ jobs: build: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 + - name: Set up Ruby uses: ruby/setup-ruby@v1 with: ruby-version: 3.0 - - name: Install bundle deps - run: bundle i + + - name: Install Bundler + run: gem install bundler -v 2.4.22 + + - name: Install dependencies + run: bundle _2.4.22_ install + - name: Run tests run: export MAILERLITE_API_TOKEN=dummy_token && bundle exec rspec spec/*rspec.rb