We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 2ddd017 + 7289341 commit 77aa42dCopy full SHA for 77aa42d
.github/workflows/main.yml
@@ -22,7 +22,7 @@ jobs:
22
fetch-depth: 0
23
24
- name: Lint Code Base
25
- uses: oxsecurity/megalinter/flavors/ci_light@v7.3.0
+ uses: oxsecurity/megalinter/flavors/ci_light@beta
26
env:
27
VALIDATE_ALL_CODEBASE: true
28
DEFAULT_BRANCH: master
brew_check.sh
@@ -2,6 +2,17 @@
2
3
scriptname=$0
4
5
+hw=$(uname -m)
6
+if [ "$hw" = x86_64 ]; then
7
+ brew=$(find "/usr/local/bin/" -iname brew)
8
+elif [ "$hw" = arm64 ]; then
9
+ brew=$(find "/opt/homebrew/bin/" -iname brew)
10
+else
11
+ exit 1
12
+fi
13
+
14
+echo "brew installation location: $brew"
15
16
brew_exist() {
17
type brew >/dev/null 2>&1 || {
18
echo >&2 "Homebrew needed to utilize this program. Installation instruction: https://brew.sh/ "
0 commit comments