fix(nix): unnable to change env vars #279
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: Run clang-format Linter | |
on: | |
push: | |
paths-ignore: | |
- "docs/**" | |
- "docker/**" | |
- ".github/**" | |
pull_request: | |
paths: | |
- "docs/**" | |
- "docker/**" | |
- ".github/**" | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: DoozyX/clang-format-lint-action@v0.14 | |
with: | |
source: 'src' | |
exclude: 'src/rust' | |
extensions: 'h,hpp,cpp,c' | |
clangFormatVersion: 18 | |
inplace: True | |
- uses: EndBug/add-and-commit@v9 | |
with: | |
committer_name: GitHub Actions | |
committer_email: actions@github.com | |
message: 'Committing clang-format changes' | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |