-
Notifications
You must be signed in to change notification settings - Fork 75
Commit
- Loading branch information
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
puts "Hello, " + "world!" | ||
Check warning on line 1 in test/only_changed/few_relevant/files/a.rb GitHub Actions / test-skip-install-and-use-bundler
Check warning on line 1 in test/only_changed/few_relevant/files/a.rb GitHub Actions / test-skip-install-and-use-bundler
Check warning on line 1 in test/only_changed/few_relevant/files/a.rb GitHub Actions / test-skip-install-and-use-bundler
Check warning on line 1 in test/only_changed/few_relevant/files/a.rb GitHub Actions / test-skip-install-and-use-bundler
Check warning on line 1 in test/only_changed/few_relevant/files/a.rb GitHub Actions / test-skip-install-and-use-bundler
Check warning on line 1 in test/only_changed/few_relevant/files/a.rb GitHub Actions / test-skip-install-and-use-bundler
Check warning on line 1 in test/only_changed/few_relevant/files/a.rb GitHub Actions / test-skip-install-and-use-bundler
Check warning on line 1 in test/only_changed/few_relevant/files/a.rb GitHub Actions / test-skip-install-and-use-bundler
|
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
puts "Hello, " + "world!" |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
#!/bin/bash | ||
|
||
read -r input | ||
|
||
if ! [ "$input" == "Mock message for reviewdog" ]; then | ||
echo "reviewdog mock got unexpected input: $input" | ||
exit 1 | ||
fi |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
#!/usr/bin/env ruby | ||
Check warning on line 1 in test/only_changed/few_relevant/mock_bins/rubocop GitHub Actions / test-skip-install-and-use-bundler
Check warning on line 1 in test/only_changed/few_relevant/mock_bins/rubocop GitHub Actions / test-skip-install-and-use-bundler
|
||
|
||
case ARGV | ||
when %w[--list-target-files] | ||
puts Dir['**/*.rb'] | ||
when %W[--require #{ENV['GITHUB_ACTION_PATH']}/rdjson_formatter/rdjson_formatter.rb --format RdjsonFormatter --fail-level error a.rb] | ||
Check warning on line 6 in test/only_changed/few_relevant/mock_bins/rubocop GitHub Actions / test-skip-install-and-use-bundler
Check warning on line 6 in test/only_changed/few_relevant/mock_bins/rubocop GitHub Actions / test-skip-install-and-use-bundler
|
||
puts 'Mock message for reviewdog' | ||
else | ||
abort "rubocop mock called with unexpected arguments:\n#{ARGV.join("\n")}" | ||
end |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
puts "Hello, " + "world!" |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
#!/bin/bash | ||
|
||
echo "reviewdog mock got called unexpectedly" | ||
exit 1 |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
#!/usr/bin/env ruby | ||
Check warning on line 1 in test/only_changed/nothing_relevant/mock_bins/rubocop GitHub Actions / test-skip-install-and-use-bundler
Check warning on line 1 in test/only_changed/nothing_relevant/mock_bins/rubocop GitHub Actions / test-skip-install-and-use-bundler
|
||
|
||
case ARGV | ||
when %w[--list-target-files] | ||
puts Dir['**/*.rb'] | ||
else | ||
abort "rubocop mock called with unexpected arguments:\n#{ARGV.join("\n")}" | ||
end |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
#!/bin/bash | ||
|
||
if [ "$1" = "exec" ]; then | ||
shift | ||
eval "$@" | ||
else | ||
echo "Only 'exec' command is supported" | ||
exit 1 | ||
fi |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
#!/bin/bash | ||
|
||
arguments="$@" | ||
|
||
if [ "$arguments" != "-sfL https://raw.githubusercontent.com/reviewdog/reviewdog/master/install.sh" ]; then | ||
echo "curl mock got unexpected arguments: $arguments" | ||
exit 1 | ||
fi |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
#!/bin/bash | ||
|
||
read -r input | ||
|
||
if [ "$input" != "Mock message for reviewdog" ]; then | ||
echo "reviewdog mock got unexpected input: $input" | ||
exit 1 | ||
fi |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
#!/usr/bin/env ruby | ||
Check warning on line 1 in test/only_changed/too_many_relevant/mock_bins/rubocop GitHub Actions / test-skip-install-and-use-bundler
Check warning on line 1 in test/only_changed/too_many_relevant/mock_bins/rubocop GitHub Actions / test-skip-install-and-use-bundler
|
||
|
||
case ARGV | ||
when %w[--list-target-files] | ||
puts Dir['**/*.rb'] | ||
when %W[--require #{ENV['GITHUB_ACTION_PATH']}/rdjson_formatter/rdjson_formatter.rb --format RdjsonFormatter --fail-level error] | ||
Check warning on line 6 in test/only_changed/too_many_relevant/mock_bins/rubocop GitHub Actions / test-skip-install-and-use-bundler
Check warning on line 6 in test/only_changed/too_many_relevant/mock_bins/rubocop GitHub Actions / test-skip-install-and-use-bundler
|
||
puts 'Mock message for reviewdog' | ||
else | ||
abort "rubocop mock called with unexpected arguments:\n#{ARGV.join("\n")}" | ||
end |