From 5aba3d0798414385c16de072953d6072e94f3e37 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 | 6 +++++- .github/workflows/test.yaml | 6 +++++- 2 files changed, 10 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml index db3fe7ee9..6511d988f 100644 --- a/.github/workflows/build.yaml +++ b/.github/workflows/build.yaml @@ -1,5 +1,9 @@ name: build +defaults: + run: + shell: bash -leo pipefail {0} + on: [push, pull_request] concurrency: @@ -26,7 +30,7 @@ jobs: steps: - uses: actions/checkout@v4 - 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..e311c9080 100644 --- a/.github/workflows/test.yaml +++ b/.github/workflows/test.yaml @@ -1,5 +1,9 @@ name: test +defaults: + run: + shell: bash -leo pipefail {0} + on: [push, pull_request] concurrency: @@ -25,7 +29,7 @@ jobs: steps: - uses: actions/checkout@v4 - name: Install Gems - run: rbenv init & bundle install + run: bundle install - name: Run tests env: DESTINATION: platform=${{ matrix.destination }}