Skip to content

Commit

Permalink
Merge pull request #5 from v-kolesnikov/dev11
Browse files Browse the repository at this point in the history
Update CI workflow
  • Loading branch information
v-kolesnikov committed Jul 4, 2023
2 parents 42fca3f + 65102af commit 6eaac35
Show file tree
Hide file tree
Showing 5 changed files with 21 additions and 60 deletions.
31 changes: 19 additions & 12 deletions .github/workflows/ruby.yml
Original file line number Diff line number Diff line change
@@ -1,20 +1,27 @@
name: Ruby

on: [push]
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]

jobs:
build:
permissions:
contents: read

jobs:
tests:
runs-on: ubuntu-latest

strategy:
fail-fast: false
matrix:
ruby: [ "1.9.3", "2.0.0", 2.1, 2.3, 2.4, 2.5, 2.6, 2.7, "3.0", 3.1, 3.2, jruby-9.1, jruby-9.2, jruby-9.3, jruby-9.4, truffleruby-head ]
name: ${{ matrix.ruby }}
steps:
- uses: actions/checkout@v1
- name: Set up Ruby 2.6
uses: actions/setup-ruby@v1
- uses: actions/checkout@v3
- uses: actions/setup-ruby@v1
with:
ruby-version: 2.6.x
- name: Build and test with Rake
run: |
gem install bundler
bundle install --jobs 4 --retry 3
bundle exec rake
ruby-version: ${{ matrix.ruby }}
bundler-cache: true
- run: bundle exec rake
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -9,3 +9,4 @@

# rspec failure tracking
.rspec_status
Gemfile.lock
8 changes: 0 additions & 8 deletions Gemfile
Original file line number Diff line number Diff line change
@@ -1,12 +1,4 @@
# frozen_string_literal: true

source 'https://rubygems.org'

# Specify your gem's dependencies in uuid_v6.gemspec
gemspec

gem 'rake'

group :test do
gem 'rspec'
end
40 changes: 0 additions & 40 deletions Gemfile.lock

This file was deleted.

1 change: 1 addition & 0 deletions uuid_v6.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -16,4 +16,5 @@ Gem::Specification.new do |spec|
spec.require_paths = ["lib"]

spec.add_dependency 'uuid'
spec.add_development_dependency 'rspec'
end

0 comments on commit 6eaac35

Please sign in to comment.