workflow: update ci.yml

- upgrade ubuntu version to ubuntu-22.04
- upgrade to checkout@v3
- upgrade bundler version to 2.2.23
This commit is contained in:
erciccione 2023-03-02 09:56:45 +01:00
parent 1dbf7ae750
commit e3b766cd80
No known key found for this signature in database
GPG key ID: 762AF8C608E56CDF

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