diff --git a/.github/workflows/lint_cc.yml b/.github/workflows/lint_cc.yml index 37de29ccc..a840644de 100644 --- a/.github/workflows/lint_cc.yml +++ b/.github/workflows/lint_cc.yml @@ -21,7 +21,8 @@ jobs: name: "clang-format" runs-on: ubuntu-latest steps: - - name: Clone NLE repo - uses: actions/checkout@v2 - - name: Run clang - run: "./nle/scripts/run-clang-format -r win/rl src/nle.c sys/unix/nledl.c include/nle.h include/nledl.h include/nleobs.h" + - uses: actions/checkout@v2 + - uses: DoozyX/clang-format-lint-action@v0.12 + with: + source: 'win/rl src/nle.c sys/unix/nledl.c include/nle.h include/nledl.h include/nleobs.h' + clangFormatVersion: 12