Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 3 additions & 8 deletions .github/workflows/reviews.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
name: Code review
on:
- push
on: [push, pull_request]
jobs:
run:
runs-on: ubuntu-latest
Expand All @@ -11,14 +10,10 @@ jobs:
fetch-depth: 0
- run: |
git fetch --no-tags --prune origin
- uses: borales/actions-yarn@v2.0.0
with:
cmd: install
- uses: adwerx/pronto-ruby@v2.5
- uses: adwerx/pronto-ruby@v2.9
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
RUBOCOP_CONFIG: ./pronto/rubocop/rubocop.yml
YAMLLINT_OPTS: -c ./pronto/yamllint/yamllint.yml
with:
runners: >-
brakeman eslint_npm fasterer poper rails_best_practices rails_schema reek rubocop scss yamllint
brakeman rails_best_practices reek rubocop
1 change: 1 addition & 0 deletions Velentsevich-Anna/1/test1.rb
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
puts "Hello World"
6 changes: 6 additions & 0 deletions test-2.rb
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
a = b = 3

if a and b
puts "HEY"
a = a + 1
end
8 changes: 8 additions & 0 deletions test.rb
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
a = 1
b = 2
if a && b
a += 1
b -= 1
end

puts 'a + b = ' + (a + b).to_s