-
Notifications
You must be signed in to change notification settings - Fork 75
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
12 changed files
with
119 additions
and
0 deletions.
There are no files selected for viewing
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
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
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
|
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
puts "Hello, " + "world!" |
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
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 |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
#!/usr/bin/env bash | ||
|
||
case "$*" in | ||
"--list-target-files") | ||
find . -name "*.rb" | ||
;; | ||
"--require $GITHUB_ACTION_PATH/rdjson_formatter/rdjson_formatter.rb --format RdjsonFormatter --fail-level error a.rb") | ||
echo 'Mock message for reviewdog' | ||
;; | ||
*) | ||
echo "rubocop mock called with unexpected arguments: $*" | ||
exit 1 | ||
;; | ||
esac |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
puts "Hello, " + "world!" |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
#!/bin/bash | ||
|
||
echo "reviewdog mock got called unexpectedly" | ||
exit 1 |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
#!/usr/bin/env bash | ||
|
||
case "$*" in | ||
"--list-target-files") | ||
find . -name "*.rb" | ||
;; | ||
*) | ||
echo "rubocop mock called with unexpected arguments: $*" | ||
exit 1 | ||
;; | ||
esac |
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
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 |
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
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 |
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
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 |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
#!/usr/bin/env bash | ||
|
||
case "$*" in | ||
"--list-target-files") | ||
find . -name "*.rb" | ||
;; | ||
"--require $GITHUB_ACTION_PATH/rdjson_formatter/rdjson_formatter.rb --format RdjsonFormatter --fail-level error a.rb") | ||
echo 'Mock message for reviewdog' | ||
;; | ||
*) | ||
echo "rubocop mock called with unexpected arguments: $*" | ||
exit 1 | ||
;; | ||
esac |