diff --git a/.github/workflows/pull_request.yml b/.github/workflows/pull_request.yml index 95053d2..95bc30c 100644 --- a/.github/workflows/pull_request.yml +++ b/.github/workflows/pull_request.yml @@ -18,4 +18,5 @@ jobs: with: ruby-version: ${{ matrix.ruby_version }} bundler-cache: true - - run: bundle exec rake \ No newline at end of file + - run: gem update --system + - run: bundle exec rake diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 9d067be..b1ca407 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -13,6 +13,7 @@ jobs: - uses: ruby/setup-ruby@v1 with: bundler-cache: true + - run: gem update --system - run: bundle exec rake build - id: gem run: echo "result=$(find pkg -name 'deploygate-*.gem' -type f | head -1)" >> $GITHUB_OUTPUT