Skip to content

Bump ruby/setup-ruby from 1.203.0 to 1.206.0 #555

Bump ruby/setup-ruby from 1.203.0 to 1.206.0

Bump ruby/setup-ruby from 1.203.0 to 1.206.0 #555

Workflow file for this run

name: "Analyse code with Rubocop and do a dry run"
on:
push:
branches:
- main
pull_request:
jobs:
lint:
runs-on: ubuntu-20.04
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Install Ruby and gems
uses: ruby/[email protected]
with:
bundler-cache: true
- name: Run rubocop
run: bundle exec rubocop
- name: Create test config and reprot directory
run: |
cp config/environment.test.yml config/environment.preview.yml
cp config/environment.test.yml config/environment.production.yml
mkdir reports
- name: Run cucumber tests - Non production
run: TEST_ENV=preview bundle exec cucumber features/services --dry-run
- name: Run cucumber tests - Production
run: TEST_ENV=production bundle exec cucumber features/services/ --dry-run
- name: Run cucumber tests - Accessibility
run: TEST_ENV=preview bundle exec cucumber -p accessibility features/accessibility/ --dry-run