From 48b7d7c27d06e8668b81e52e4c396ee977c3bccc Mon Sep 17 00:00:00 2001 From: Yuxuan Shui Date: Sun, 20 Jun 2021 06:56:16 +0100 Subject: [PATCH] Update coding style workflow Alpine stopped packaging git-clang-format in newer versions. Signed-off-by: Yuxuan Shui --- .github/workflows/coding-style-pr.yml | 2 +- .github/workflows/coding-style.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/coding-style-pr.yml b/.github/workflows/coding-style-pr.yml index 0712b38..e5b40c5 100644 --- a/.github/workflows/coding-style-pr.yml +++ b/.github/workflows/coding-style-pr.yml @@ -8,6 +8,6 @@ jobs: steps: - uses: actions/checkout@v2 - run: git fetch --depth=1 origin ${{ github.event.pull_request.base.sha }} - - uses: yshui/git-clang-format-lint@v1.10 + - uses: yshui/git-clang-format-lint@v1.11 with: base: ${{ github.event.pull_request.base.sha }} diff --git a/.github/workflows/coding-style.yml b/.github/workflows/coding-style.yml index 7e85f12..e6f51ec 100644 --- a/.github/workflows/coding-style.yml +++ b/.github/workflows/coding-style.yml @@ -9,6 +9,6 @@ jobs: - uses: actions/checkout@v2 with: fetch-depth: 2 - - uses: yshui/git-clang-format-lint@v1.10 + - uses: yshui/git-clang-format-lint@v1.11 with: base: ${{ github.event.ref }}~1