File tree 1 file changed +1
-2
lines changed
1 file changed +1
-2
lines changed Original file line number Diff line number Diff line change 44
44
sudo apt-get install -y cppcheck
45
45
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
46
46
tar -xzf /tmp/oclint.tar.gz -C ~/
47
- ls -la ~/
48
47
python -m pip install pre-commit docutils
49
48
echo "source .github/scripts/install-arduino-cli.sh" >> ~/install.sh
50
49
echo "source .github/scripts/install-arduino-core-esp32.sh" >> ~/install.sh
91
90
- name : Run oclint
92
91
continue-on-error : true
93
92
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 }}
95
94
96
95
- name : Run pre-commit hooks in changed files
97
96
run : pre-commit run --color=always --show-diff-on-failure --files ${{ steps.changed-files.outputs.all_changed_files }}
You can’t perform that action at this time.
0 commit comments