diff --git a/.github/workflows/clang-format-check.yml b/.github/workflows/clang-format-check.yml index ffed4ab..b561d27 100644 --- a/.github/workflows/clang-format-check.yml +++ b/.github/workflows/clang-format-check.yml @@ -7,13 +7,10 @@ jobs: runs-on: ubuntu-latest if: "!contains(github.event.head_commit.message, 'skip-ci')" steps: - - uses: actions/checkout@v4.1.1 - - name: Set up dependencies - run: | - sudo apt-get update - sudo apt-get install setuptools + - uses: actions/checkout@v4.1.7 + - name: Run clang-format style check for C programs. - uses: DoozyX/clang-format-lint-action@v0.11 + uses: DoozyX/clang-format-lint-action@v0.18.2 with: source: '.' extensions: 'c,h,cpp,hpp'