fix: ruby 3.3 & bundle exec #2480
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: check | |
on: [push] | |
jobs: | |
code-style: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Setup system requirements | |
run: | | |
sudo apt-get -y update | |
sudo apt-get -y install imagemagick \ | |
libmagickwand-dev | |
- uses: actions/checkout@v4 | |
- uses: ruby/setup-ruby@v1 | |
with: | |
ruby-version: '3.3' | |
bundler-cache: true # runs 'bundle install' and caches installed gems automatically | |
- name: Install gem dependencies | |
run: | | |
gem install bundler | |
bundle config set with 'development' | |
bundle install --jobs 4 --retry 3 | |
- name: Run RuboCop check | |
run: rubocop | |
- name: Check that code 100% documented | |
run: yardoc . | grep -q '100.00% documented' | |
run_all_specs_in_default_docker: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Running test inside doc-builder-testing | |
run: | | |
docker build -t doc-builder-testing . | |
docker run -t doc-builder-testing | |
run_critical_in_all_dockerfiles: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
dockerfiles: | |
- "dockerfiles/rockylinux-latest/Dockerfile" | |
- "dockerfiles/debian-develop/Dockerfile" | |
- "dockerfiles/debian-next-release/Dockerfile" | |
fail-fast: false | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Dockerfile ${{ matrix.dockerfiles }} | |
run: | | |
docker build -t doc-builder-testing -f ${{ matrix.dockerfiles }} . | |
docker run doc-builder-testing |