Warn about undocumented non-private APIs. #27233
tests.yml
on: pull_request
syntax
1m 37s
tap syntax
8m 37s
formula audit
6m 18s
cask audit
2m 52s
vendored gems
38s
docker
4m 39s
Matrix: test-default-formula
Matrix: tests
Matrix: update-test
Annotations
14 errors
tests (generic OS):
home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/test/rubocops/caveats_spec.rb#L9
RuboCop::Cop::FormulaAudit::Caveats when auditing `caveats` reports an offense if `setuid` is mentioned
Failure/Error:
expect_offense(<<~RUBY)
class Foo < Formula
homepage "https://brew.sh/foo"
url "https://brew.sh/foo-1.0.tgz"
def caveats
"setuid"
^^^^^^^^ FormulaAudit/Caveats: Don't recommend setuid in the caveats, suggest sudo instead.
end
end
RUBY
Diff:
@@ -3,7 +3,7 @@
url "https://brew.sh/foo-1.0.tgz"
def caveats
"setuid"
- ^^^^^^^^ FormulaAudit/Caveats: Don't recommend setuid in the caveats, suggest sudo instead.
+ ^^^^^^^^ FormulaAudit/Caveats: Don't recommend `setuid` in the caveats, suggest `sudo` instead.
end
end
|
tests (generic OS)
Process completed with exit code 1.
|
tests (online)
The job was canceled because "tests__generic_OS__--gene" failed.
|
tests (online)
The operation was canceled.
|
tests (Ubuntu 20.04)
The job was canceled because "tests__generic_OS__--gene" failed.
|
tests (Ubuntu 20.04)
The operation was canceled.
|
tests (macOS 13 x86_64)
The job was canceled because "tests__generic_OS__--gene" failed.
|
tests (macOS 13 x86_64):
usr/local/Homebrew/Library/Homebrew/test/rubocops/caveats_spec.rb#L9
RuboCop::Cop::FormulaAudit::Caveats when auditing `caveats` reports an offense if `setuid` is mentioned
Failure/Error:
expect_offense(<<~RUBY)
class Foo < Formula
homepage "https://brew.sh/foo"
url "https://brew.sh/foo-1.0.tgz"
def caveats
"setuid"
^^^^^^^^ FormulaAudit/Caveats: Don't recommend setuid in the caveats, suggest sudo instead.
end
end
RUBY
Diff:
@@ -3,7 +3,7 @@
url "https://brew.sh/foo-1.0.tgz"
def caveats
"setuid"
- ^^^^^^^^ FormulaAudit/Caveats: Don't recommend setuid in the caveats, suggest sudo instead.
+ ^^^^^^^^ FormulaAudit/Caveats: Don't recommend `setuid` in the caveats, suggest `sudo` instead.
end
end
|
tests (macOS 13 x86_64)
The operation was canceled.
|
tests (Ubuntu 22.04)
The job was canceled because "tests__generic_OS__--gene" failed.
|
tests (Ubuntu 22.04)
The operation was canceled.
|
tests (macOS 14 arm64)
The job was canceled because "tests__generic_OS__--gene" failed.
|
tests (macOS 14 arm64):
opt/homebrew/Library/Homebrew/test/rubocops/caveats_spec.rb#L9
RuboCop::Cop::FormulaAudit::Caveats when auditing `caveats` reports an offense if `setuid` is mentioned
Failure/Error:
expect_offense(<<~RUBY)
class Foo < Formula
homepage "https://brew.sh/foo"
url "https://brew.sh/foo-1.0.tgz"
def caveats
"setuid"
^^^^^^^^ FormulaAudit/Caveats: Don't recommend setuid in the caveats, suggest sudo instead.
end
end
RUBY
Diff:
@@ -3,7 +3,7 @@
url "https://brew.sh/foo-1.0.tgz"
def caveats
"setuid"
- ^^^^^^^^ FormulaAudit/Caveats: Don't recommend setuid in the caveats, suggest sudo instead.
+ ^^^^^^^^ FormulaAudit/Caveats: Don't recommend `setuid` in the caveats, suggest `sudo` instead.
end
end
|
tests (macOS 14 arm64)
The operation was canceled.
|