Merge pull request #2135

workflow: update ci.yml
This commit is contained in:
luigi1111 2023-03-03 09:15:08 -05:00 committed by GitHub
commit 54f1ca1d8d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -4,19 +4,19 @@ on: [push, pull_request]
jobs: jobs:
build: build:
runs-on: ubuntu-18.04 runs-on: ubuntu-22.04
strategy: strategy:
fail-fast: false fail-fast: false
matrix: matrix:
ruby: [ '2.7', '3.0.1' ] ruby: [ '2.7', '3.0.1' ]
name: Ruby ${{ matrix.ruby }} name: Ruby ${{ matrix.ruby }}
steps: steps:
- uses: actions/checkout@v2 - uses: actions/checkout@v3
- uses: ruby/setup-ruby@v1 - uses: ruby/setup-ruby@v1
with: with:
ruby-version: ${{ matrix.ruby }} ruby-version: ${{ matrix.ruby }}
- name: install bundler - name: install bundler
run: gem install bundler:1.17.3 run: gem install bundler:2.2.23
- name: bundle install - name: bundle install
run: bundle install --jobs 4 --retry 3 run: bundle install --jobs 4 --retry 3
- name: build site - name: build site