Skip to content

Commit

Permalink
Update CI
Browse files Browse the repository at this point in the history
  • Loading branch information
iMacTia committed Sep 23, 2024
1 parent e95ed11 commit f6d9b74
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 13 deletions.
24 changes: 14 additions & 10 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,16 +16,16 @@ jobs:
runs-on: ubuntu-latest

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

- name: Set up Ruby 2.6
- name: Set up Ruby 2.7
uses: ruby/setup-ruby@v1
with:
ruby-version: 2.6
ruby-version: 2.7

- name: Rubocop
run: |
gem install bundler
gem install bundler -v 2.4.22
bundle config set without 'development test'
bundle config set with 'lint'
bundle install
Expand All @@ -41,16 +41,20 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
ruby: ['2.4', '2.5', '2.6', '2.7', '3.0', '3.1', '3.2']
ruby: ['2.4', '2.5', '2.6', '2.7', '3.0', '3.1', '3.2', '3.3']

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- uses: ruby/setup-ruby@v1
with:
ruby-version: ${{ matrix.ruby }}
- name: Install system dependencies
run: sudo apt install libcurl4-openssl-dev
- name: Install Ruby dependencies
run: bundle install --jobs 4 --retry 3
- name: Install dependencies
run: |
sudo apt-get update
sudo apt-get install libcurl4-openssl-dev
- name: Build
run: |
gem install bundler -v 2.4.22
bundle install --jobs 4 --retry 3
- name: Test
run: bundle exec rake
6 changes: 3 additions & 3 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,12 +10,12 @@ jobs:
runs-on: ubuntu-latest

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

- name: Set up Ruby 2.6
- name: Set up Ruby 2.7
uses: ruby/setup-ruby@v1
with:
ruby-version: 2.6.x
ruby-version: 2.7

- name: Publish to RubyGems
run: |
Expand Down

0 comments on commit f6d9b74

Please sign in to comment.