From 2df6a2fc3a5c2772da7426a98c209fdb9b9c27e3 Mon Sep 17 00:00:00 2001 From: "vladimir.kuznetsov" Date: Sun, 8 Dec 2024 12:40:20 +0700 Subject: [PATCH] chore: added clang-format step in deploy workflow --- .github/workflows/deploy.yml | 11 +++++++++++ README.md | 2 +- 2 files changed, 12 insertions(+), 1 deletion(-) diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index a51c19b2..8c1d7d32 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -481,3 +481,14 @@ jobs: run: | echo "Pull request:" >> $GITHUB_STEP_SUMMARY echo "[[#${{ fromJSON(steps.pull_request.outputs.data)[0].number }}] ${{ fromJSON(steps.pull_request.outputs.data)[0].title }}](${{ fromJSON(steps.pull_request.outputs.data)[0].html_url }})" >> $GITHUB_STEP_SUMMARY + + clang-format: + runs-on: ubuntu-latest + steps: + - name: Checkout code + uses: actions/checkout@v2 + + - name: Run clang-format + uses: DoozyX/clang-format-lint-action@v0.18.1 + with: + style: 'file' diff --git a/README.md b/README.md index 8b453907..391a467a 100644 --- a/README.md +++ b/README.md @@ -50,7 +50,7 @@ AmneziaVPN uses several open-source projects to work: - [OpenVPN](https://openvpn.net/) - [Shadowsocks](https://shadowsocks.org/) - [Qt](https://www.qt.io/) -- [LibSsh](https://libssh.org) - forked from Qt Creator +- [LibSsh](https://libssh.org) - and more... ## Checking out the source code