From deb48d0b9b33b4a9dc6023ef7e924ebf803ea818 Mon Sep 17 00:00:00 2001 From: Margen67 Date: Sun, 1 Sep 2024 10:03:07 -0700 Subject: [PATCH] lint_pr: Formatting, upgrade actions --- .github/workflows/lint_pr.yml | 16 ++++++++++------ 1 file changed, 10 insertions(+), 6 deletions(-) diff --git a/.github/workflows/lint_pr.yml b/.github/workflows/lint_pr.yml index 559a626c..0d04c0dd 100644 --- a/.github/workflows/lint_pr.yml +++ b/.github/workflows/lint_pr.yml @@ -1,12 +1,16 @@ name: lint_pr + on: [push, pull_request] + jobs: clang-format: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 - - uses: DoozyX/clang-format-lint-action@v0.12 - with: - source: 'src' - exclude: 'lib' - clangFormatVersion: 12 + - uses: actions/checkout@v4 + with: + fetch-depth: 0 + - uses: DoozyX/clang-format-lint-action@v0.18.1 + with: + source: src + exclude: lib + clangFormatVersion: 12