Skip to content

fix perms on lib/ronn.rb with a-x; that's not an executable script #29

fix perms on lib/ronn.rb with a-x; that's not an executable script

fix perms on lib/ronn.rb with a-x; that's not an executable script #29

Workflow file for this run

name: Ruby
on:
push:
branches: [ "main", "dev/gh-actions" ]
pull_request:
branches: [ "main" ]
permissions:
contents: read
jobs:
test:
runs-on: ubuntu-20.04
continue-on-error: ${{ matrix.unsupported }}
strategy:
fail-fast: false
matrix:
ruby-version: ['2.7', '3.0', '3.1', head]
unsupported: [false]
include:
- ruby-version: '2.4'
unsupported: true
- ruby-version: '2.5'
unsupported: true
- ruby-version: '2.6'
unsupported: true
steps:
- uses: actions/checkout@v3
- name: Remove Gemfile.lock
run: rm -f Gemfile.lock
- name: Set up Ruby
uses: ruby/[email protected]
with:
ruby-version: ${{ matrix.ruby-version }}
bundler-cache: true # runs 'bundle install' and caches installed gems automatically
continue-on-error: ${{ matrix.unsupported }} # Only for Ruby 2.4
- name: Run tests
run: bundle exec rake test
continue-on-error: ${{ matrix.unsupported }}
- name: Run man tests
run: bundle exec rake man
continue-on-error: ${{ matrix.unsupported }} # Only for Ruby 2.4
rubocop:
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v3
- name: Remove Gemfile.lock
run: rm -f Gemfile.lock
- name: Set up Ruby
uses: ruby/[email protected]
with:
ruby-version: 2.7.6
bundler-cache: true # runs 'bundle install' and caches installed gems automatically
- name: Run RuboCop
run: bundle exec rubocop