[ADP-3224] Fix workflows cache issues and add slack reporting for the… #269
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: Rubocop | |
on: | |
push: | |
branches: [ "master" ] | |
paths: ['test/e2e/**.rb'] | |
pull_request: | |
branches: [ "master" ] | |
paths: ['test/e2e/**.rb'] | |
permissions: | |
contents: read | |
defaults: | |
run: | |
working-directory: ./test/e2e | |
jobs: | |
rubocop-linter: | |
runs-on: ubuntu-latest | |
steps: | |
- name: 📥 Checkout repository | |
uses: actions/[email protected] | |
- name: 💎 Set up Ruby | |
uses: ruby/[email protected] | |
with: | |
ruby-version: 3.1.2 | |
bundler-cache: true | |
- name: 👮 Rubocop | |
run: | | |
gem install rubocop | |
rubocop |