Bump codecov/codecov-action from 2.1.0 to 3.1.4 #169
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: Code format | |
on: [push, pull_request, pull_request_target] | |
jobs: | |
clang-format: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Clone repository | |
uses: actions/checkout@v2 | |
- name: Run clang format | |
run: | | |
curl https://oss-clang-format.s3.us-east-2.amazonaws.com/linux64/clang-format-linux64 -o clang-format | |
chmod +x clang-format | |
sudo mv clang-format /opt/clang-format | |
python tools/run_clang_format.py --files shufaCV tests --recursive --clang_format_executable /opt/clang-format --style file --fix | |
- name: Apply code-format changes | |
uses: stefanzweifel/git-auto-commit-action@v4 | |
with: | |
commit_message: Apply code-format changes |