Skip to content

Commit

Permalink
chore!: Target Ruby 3.1 as minimum Ruby version, bump deps and add PR…
Browse files Browse the repository at this point in the history
… title lint (#6)
  • Loading branch information
maxveldink authored Feb 14, 2024
1 parent 069c2c2 commit dcf4f11
Show file tree
Hide file tree
Showing 11 changed files with 17,121 additions and 10,564 deletions.
20 changes: 20 additions & 0 deletions .github/lint-pr-title.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
name: "Lint PR"

on:
pull_request_target:
types:
- opened
- edited
- synchronize

permissions:
pull-requests: read

jobs:
main:
name: Validate PR title
runs-on: ubuntu-latest
steps:
- uses: amannn/action-semantic-pull-request@v5
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
1 change: 1 addition & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ jobs:
strategy:
matrix:
ruby:
- '3.1'
- '3.2'
- '3.3'
steps:
Expand Down
2 changes: 1 addition & 1 deletion .standard.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
parallel: true
ruby_version: 3.2
ruby_version: 3.1
ignore:
- 'vendor/**/*'
plugins:
Expand Down
38 changes: 19 additions & 19 deletions Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -17,13 +17,13 @@ GEM
reline (>= 0.3.8)
erubi (1.12.0)
io-console (0.7.2)
irb (1.11.1)
irb (1.11.2)
rdoc
reline (>= 0.4.2)
json (2.7.1)
language_server-protocol (3.17.0.3)
lint_roller (1.1.0)
minitest (5.21.2)
minitest (5.22.2)
minitest-focus (1.4.0)
minitest (>= 4, < 6)
minitest-reporters (1.6.1)
Expand All @@ -37,26 +37,26 @@ GEM
ast (~> 2.4.1)
racc
prettier_print (1.2.1)
prism (0.19.0)
prism (0.21.0)
psych (5.1.2)
stringio
racc (1.7.3)
rainbow (3.1.1)
rake (13.1.0)
rbi (0.1.6)
prism (>= 0.18.0, < 0.20)
rbi (0.1.8)
prism (>= 0.18.0, < 0.22)
sorbet-runtime (>= 0.5.9204)
rdoc (6.6.2)
psych (>= 4.0.0)
regexp_parser (2.9.0)
reline (0.4.2)
io-console (~> 0.5)
rexml (3.2.6)
rubocop (1.59.0)
rubocop (1.60.2)
json (~> 2.3)
language_server-protocol (>= 3.17.0)
parallel (~> 1.10)
parser (>= 3.2.2.4)
parser (>= 3.3.0.2)
rainbow (>= 2.2.2, < 4.0)
regexp_parser (>= 1.8, < 3.0)
rexml (>= 3.2.5, < 4.0)
Expand All @@ -68,31 +68,31 @@ GEM
rubocop-performance (1.20.2)
rubocop (>= 1.48.1, < 2.0)
rubocop-ast (>= 1.30.0, < 2.0)
rubocop-sorbet (0.7.6)
rubocop-sorbet (0.7.7)
rubocop (>= 0.90.0)
ruby-progressbar (1.13.0)
sorbet (0.5.11221)
sorbet-static (= 0.5.11221)
sorbet (0.5.11255)
sorbet-static (= 0.5.11255)
sorbet-result (1.0.0)
sorbet-runtime (~> 0.5)
zeitwerk (~> 2.6)
sorbet-runtime (0.5.11221)
sorbet-static (0.5.11221-universal-darwin)
sorbet-static (0.5.11221-x86_64-linux)
sorbet-static-and-runtime (0.5.11221)
sorbet (= 0.5.11221)
sorbet-runtime (= 0.5.11221)
sorbet-runtime (0.5.11255)
sorbet-static (0.5.11255-universal-darwin)
sorbet-static (0.5.11255-x86_64-linux)
sorbet-static-and-runtime (0.5.11255)
sorbet (= 0.5.11255)
sorbet-runtime (= 0.5.11255)
sorbet-struct-comparable (1.3.0)
sorbet-runtime (>= 0.5)
spoom (1.2.4)
erubi (>= 1.10.0)
sorbet-static-and-runtime (>= 0.5.10187)
syntax_tree (>= 6.1.1)
thor (>= 0.19.2)
standard (1.33.0)
standard (1.34.0)
language_server-protocol (~> 3.17.0.2)
lint_roller (~> 1.0)
rubocop (~> 1.59.0)
rubocop (~> 1.60)
standard-custom (~> 1.0.0)
standard-performance (~> 1.3)
standard-custom (1.0.2)
Expand Down Expand Up @@ -144,4 +144,4 @@ DEPENDENCIES
tapioca

BUNDLED WITH
2.4.12
2.5.6
2 changes: 1 addition & 1 deletion sorbet-schema.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ Gem::Specification.new do |spec|
spec.summary = "Serialization and deserialization library into Sorbet structs."
spec.homepage = "https://github.com/maxveldink/sorbet-schema"
spec.license = "MIT"
spec.required_ruby_version = ">= 3.2"
spec.required_ruby_version = ">= 3.1"

spec.metadata["allowed_push_host"] = "https://rubygems.org"
spec.metadata["rubygems_mfa_required"] = "true"
Expand Down
Loading

0 comments on commit dcf4f11

Please sign in to comment.