diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index a44a9da..303af85 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -11,10 +11,10 @@ jobs: if: github.repository_owner == 'voxpupuli' steps: - uses: actions/checkout@v2 - - name: Install Ruby 3.0 + - name: Install Ruby 3.1 uses: ruby/setup-ruby@v1 with: - ruby-version: '3.0' + ruby-version: '3.1' env: BUNDLE_WITHOUT: release - name: Build gem diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 5fe14c6..4b7bf1b 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -18,6 +18,7 @@ jobs: - ruby: "2.6" - ruby: "2.7" - ruby: "3.0" + - ruby: "3.1" coverage: "yes" env: COVERAGE: ${{ matrix.coverage }} @@ -28,5 +29,7 @@ jobs: with: ruby-version: ${{ matrix.ruby }} bundler-cache: true + - name: Build gem + run: gem build *.gemspec - name: Run tests run: bundle exec rake spec