Skip to content

Commit 89fc2b3

Browse files
committed
Fix
1 parent 2b83d30 commit 89fc2b3

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

.github/workflows/pre-commit.yml

+1-2
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,6 @@ jobs:
4444
sudo apt-get install -y cppcheck
4545
wget -q https://github.com/oclint/oclint/releases/download/v22.02/oclint-22.02-llvm-13.0.1-x86_64-linux-ubuntu-20.04.tar.gz -O /tmp/oclint.tar.gz
4646
tar -xzf /tmp/oclint.tar.gz -C ~/
47-
ls -la ~/
4847
python -m pip install pre-commit docutils
4948
echo "source .github/scripts/install-arduino-cli.sh" >> ~/install.sh
5049
echo "source .github/scripts/install-arduino-core-esp32.sh" >> ~/install.sh
@@ -91,7 +90,7 @@ jobs:
9190
- name: Run oclint
9291
continue-on-error: true
9392
run: |
94-
~/oclint-22.02/bin/oclint-json-compilation-database -p ~/ oclint_args ${{ steps.changed-files.outputs.all_changed_files }}
93+
PATH=$PATH:/home/runner/oclint-22.02/bin/ oclint-json-compilation-database -p ~/ oclint_args ${{ steps.changed-files.outputs.all_changed_files }}
9594
9695
- name: Run pre-commit hooks in changed files
9796
run: pre-commit run --color=always --show-diff-on-failure --files ${{ steps.changed-files.outputs.all_changed_files }}

0 commit comments

Comments
 (0)