From 8d7fba19476f1428c805388afbadf619326a5468 Mon Sep 17 00:00:00 2001 From: onevcat Date: Sat, 9 Nov 2024 20:48:19 +0900 Subject: [PATCH] Use rbenv --- .github/workflows/build.yaml | 4 +++- .github/workflows/test.yaml | 4 +++- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml index db3fe7ee9..6c3c378d2 100644 --- a/.github/workflows/build.yaml +++ b/.github/workflows/build.yaml @@ -25,8 +25,10 @@ jobs: ] steps: - uses: actions/checkout@v4 + - name: Setup rbenv + run: eval "$(rbenv init -)" - name: Install Gems - run: rbenv init & bundle install + run: bundle install - name: Build framework env: DESTINATION: platform=${{ matrix.destination }} diff --git a/.github/workflows/test.yaml b/.github/workflows/test.yaml index bbbf68ca3..6c8e7dab1 100644 --- a/.github/workflows/test.yaml +++ b/.github/workflows/test.yaml @@ -24,8 +24,10 @@ jobs: ] steps: - uses: actions/checkout@v4 + - name: Setup rbenv + run: eval "$(rbenv init -)" - name: Install Gems - run: rbenv init & bundle install + run: bundle install - name: Run tests env: DESTINATION: platform=${{ matrix.destination }}