Check for cargo when building rust language #7563
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 Lint | |
on: | |
push: | |
branches: | |
- trying | |
- staging | |
pull_request: | |
branches: [ master ] | |
merge_group: | |
jobs: | |
clang-format: | |
runs-on: ubuntu-latest | |
steps: | |
# If updating these steps, please also correspondingly update '../../CONTRIBUTING.md', "Running `clang-format` locally". | |
- uses: actions/checkout@v3 | |
- name: Copy .clang-format file | |
run: cp contrib/clang-format .clang-format | |
- name: Check clang-format | |
uses: DoozyX/[email protected] | |
with: | |
source: 'gcc/rust/ libgrust/' | |
extensions: 'h,cc' | |
clangFormatVersion: 10 |