Skip to content

chore: update dependencies #802

chore: update dependencies

chore: update dependencies #802

Workflow file for this run

name: Ruby
on:
push:
pull_request:
jobs:
test:
runs-on: ubuntu-latest
name: Ruby ${{ matrix.ruby }}/Rails ${{ matrix.rails }}
strategy:
matrix:
ruby: ['2.7', '3.0', '3.1', '3.2']
rails: ['6.0', '6.1', '7.0', '7.1', '7.2']
exclude:
- { rails: '7.2', ruby: '2.7' }
- { rails: '7.2', ruby: '3.0' }
env:
BUNDLE_GEMFILE: ${{ github.workspace }}/gemfiles/rails-${{ matrix.rails }}/Gemfile
steps:
- uses: actions/checkout@v4
- name: Set up Ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: ${{ matrix.ruby }}
bundler-cache: true
- name: Start texd container
run: |
docker run --rm -d --name texd-dev \
-p 2201:2201 \
-e HOME=/tmp \
-v $(mktemp -d):/texd \
-v $(mktemp -d):/refs \
--user=$(id -u):$(id -g) \
ghcr.io/digineo/texd --reference-store dir:///refs
until curl -fs -o/dev/null http://localhost:2201/status; do sleep 2; echo waiting for texd; done
- name: Run rspec
run: bundle exec rake spec
lint:
runs-on: ubuntu-latest
name: Rubocop
steps:
- uses: actions/checkout@v4
- name: Set up Ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: "2.7" # minimal supported version
bundler-cache: true
- name: Run rubocop
run: bundle exec rake rubocop