Skip to content

Commit

Permalink
Added GH workflow (#28)
Browse files Browse the repository at this point in the history
* Added GH workflow

* Increased Ruby version

Ruby 3.0 EOL was 2024-04-23 (https://endoflife.date/ruby)
  • Loading branch information
eelcoj authored Nov 30, 2024
1 parent 8de6d3e commit 54c0492
Show file tree
Hide file tree
Showing 4 changed files with 31 additions and 3 deletions.
1 change: 0 additions & 1 deletion .github/FUNDING.yml

This file was deleted.

29 changes: 29 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
name: Ruby

on:
push:
branches:
- main

pull_request:

jobs:
build:
runs-on: ubuntu-latest
name: Ruby ${{ matrix.ruby }}
strategy:
matrix:
ruby:
- "3.1.0"

steps:
- uses: actions/checkout@v4
- name: Set up Ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: ${{ matrix.ruby }}
bundler-cache: true
- name: Run Standard
run: bundle exec standardrb
- name: Run the default task
run: bundle exec rake
2 changes: 1 addition & 1 deletion .standard.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
ruby_version: 3.0
ruby_version: 3.1.0
ignore:
- "tmp/**/*"
- "test/**/*"
2 changes: 1 addition & 1 deletion rails_icons.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ Gem::Specification.new do |spec|

spec.files = Dir["{bin,app,config,db,lib,public}/**/*", "Rakefile", "README.md", "rails_icons.gemspec", "Gemfile", "Gemfile.lock"]

spec.required_ruby_version = ">= 3.0.0"
spec.required_ruby_version = ">= 3.1.0"
spec.add_dependency "rails", "> 6.1"
spec.add_runtime_dependency "nokogiri", "~> 1.16", ">= 1.16.4"
end

0 comments on commit 54c0492

Please sign in to comment.