From cc122ca2e7278c5cd07ad92c874444a1d3f31461 Mon Sep 17 00:00:00 2001 From: Tim Meusel Date: Wed, 14 Feb 2024 09:47:03 +0100 Subject: [PATCH] CI: Build gems with strict and verbose mode That's our new pattern that we already use in other gems. --- .github/workflows/release.yml | 2 +- .github/workflows/test.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 362517c..0b38a6d 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -20,7 +20,7 @@ jobs: - name: Build gem run: gem build *.gemspec - name: Publish gem to rubygems.org - run: gem push *.gem + run: gem build --strict --verbose *.gemspec env: GEM_HOST_API_KEY: '${{ secrets.RUBYGEMS_AUTH_TOKEN }}' - name: Setup GitHub packages access diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 6636f3b..47df6f1 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -45,7 +45,7 @@ jobs: - name: spec tests run: bundle exec rake test - name: Build gem - run: gem build *.gemspec + run: gem build --strict --verbose *.gemspec tests: needs: