Skip to content

Commit

Permalink
trying to fix action
Browse files Browse the repository at this point in the history
  • Loading branch information
oliveranthony17 committed Oct 14, 2024
1 parent cced95b commit 6887dc1
Showing 1 changed file with 18 additions and 9 deletions.
27 changes: 18 additions & 9 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,17 +29,26 @@ jobs:
- name: Checkout code
uses: actions/checkout@v4

- name: Install bundle
# - name: Set up Ruby
# uses: ruby/setup-ruby@v1
# with:
# ruby-version: ${{ matrix.ruby }}
# bundler-cache: true

- name: Install Ruby
run: |
sudo apt-get update
sudo apt-get install -y software-properties-common
sudo apt-add-repository ppa:brightbox/ruby-ng
sudo apt-get update
sudo apt-get install ruby-${{ matrix.ruby }} # Adjust this for macOS if needed
ruby --version
- name: Install Bundler
run: |
gem install bundler
bundle lock --add-platform x86_64-linux
- name: Set up Ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: ${{ matrix.ruby }}
bundler-cache: true

bundle --version
- name: Add platforms to Gemfile.lock
run: |
bundle lock --add-platform x86_64-linux
Expand Down

0 comments on commit 6887dc1

Please sign in to comment.