Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 683916a

Browse files
committedApr 13, 2024
Test
1 parent 8932842 commit 683916a

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed
 

‎.github/workflows/pre-commit.yml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,10 @@ jobs:
2424
with:
2525
python-version: "3.x"
2626

27+
- name: Set up Homebrew
28+
id: set-up-homebrew
29+
uses: Homebrew/actions/setup-homebrew@master
30+
2731
- name: Get Python version hash
2832
run: |
2933
echo "Using $(python -VV)"
@@ -41,7 +45,9 @@ jobs:
4145
- name: Install dependencies
4246
run: |
4347
sudo apt update
44-
sudo apt-get install -y cppcheck oclint
48+
sudo apt-get install -y cppcheck
49+
brew tap oclint/formulae
50+
brew install oclint
4551
python -m pip install pre-commit docutils
4652
echo "source .github/scripts/install-arduino-cli.sh" >> ~/install.sh
4753
echo "source .github/scripts/install-arduino-core-esp32.sh" >> ~/install.sh

0 commit comments

Comments
 (0)
Please sign in to comment.