Fix rosinstall so focal has its own so newer versions leverage system… #3818
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Clang-Format | |
on: | |
push: | |
branches: | |
- master | |
- 'dev**' | |
pull_request: | |
paths: | |
- 'tesseract**' | |
- '.github/workflows/clang_format.yml' | |
- '**clang-format' | |
schedule: | |
- cron: '0 5 * * *' | |
jobs: | |
clang_format: | |
runs-on: ubuntu-22.04 | |
steps: | |
- uses: actions/checkout@v1 | |
- name: Run clang format | |
run: | | |
sudo apt update | |
sudo apt install -y git clang-format-12 | |
if [ $? -ge 1 ]; then return 1; fi | |
./.run-clang-format | |
if [ $? -ge 1 ]; then return 1; fi | |
output=$(git diff) | |
echo $output | |
if [ -n "$output" ]; then exit 1; else exit 0; fi |