Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -2,31 +2,38 @@ name: CI Build

on:
push:
branches: [ main ]
branches: [main]

pull_request:
branches: [ main ]
branches: [main]

jobs:
build:
continue-on-error: true
name: Ruby ${{ matrix.ruby }} on ${{ matrix.operating-system }}
runs-on: ${{ matrix.operating-system }}
continue-on-error: ${{ matrix.experimental == 'Yes' }}

strategy:
matrix:
ruby: ['3.0', '3.2', head, jruby-head]
ruby: ["3.0", "3.1", "3.2", "3.3", head, jruby-head]
operating-system: [ubuntu-latest]
experimental: [No]
include:
- ruby: '3.0'
- ruby: "3.0"
operating-system: windows-latest
- ruby: head
operating-system: ubuntu-latest
# If the 'ruby: head' build fails, it is ok to set 'experimental: Yes'
# in order to make the workflow continue. Open a GitHub issue about
# the failure. Comment out the 'experimental: Yes' line once the
# issue is resolved.
# experimental: Yes
- ruby: jruby-head
operating-system: windows-latest
# - ruby: jruby-head
# operating-system: windows-latest

name: Ruby ${{ matrix.ruby }} on ${{ matrix.operating-system }}
runs-on: ${{ matrix.operating-system }}

steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Initialize Ruby
uses: ruby/setup-ruby@v1
Expand All @@ -38,7 +45,7 @@ jobs:
run: bundle exec rake

coverage:
needs: [ build ]
needs: [build]
runs-on: ubuntu-latest

name: Report test coverage to CodeClimate
Expand Down
3 changes: 2 additions & 1 deletion semverify.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,8 @@ Gem::Specification.new do |spec|

spec.metadata['homepage_uri'] = spec.homepage
spec.metadata['source_code_uri'] = spec.homepage
spec.metadata['changelog_uri'] = 'https://rubydoc.info/gems/semverify/file/CHANGELOG.md'
spec.metadata['changelog_uri'] = "https://rubydoc.info/gems/#{spec.name}/#{spec.version}/file/CHANGELOG.md"
spec.metadata['documentation_uri'] = "https://rubydoc.info/gems/#{spec.name}/#{spec.version}"

# Specify which files should be added to the gem when it is released.
# The `git ls-files -z` loads the files in the RubyGem that have been added into git.
Expand Down