mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-07-06 05:23:56 -07:00
other workflows
This commit is contained in:
parent
fd919ef571
commit
904554ffa1
6 changed files with 170 additions and 163 deletions
13
.github/workflows/desktop-lint.yml
vendored
13
.github/workflows/desktop-lint.yml
vendored
|
|
@ -1,7 +1,7 @@
|
|||
name: Code Style (C++)
|
||||
|
||||
on:
|
||||
# push trigger not needed for linting, we do not allow direct pushes to master
|
||||
# Push trigger not needed for linting, we do not allow direct pushes to master
|
||||
pull_request:
|
||||
paths:
|
||||
- '*/**' # matches all files not in root
|
||||
|
|
@ -21,17 +21,20 @@ jobs:
|
|||
runs-on: ubuntu-slim
|
||||
|
||||
steps:
|
||||
- name: Checkout
|
||||
- name: "Checkout"
|
||||
uses: actions/checkout@v6
|
||||
with:
|
||||
fetch-depth: 20 # should be enough to find merge base
|
||||
|
||||
- name: Install dependencies
|
||||
- name: "Install dependencies"
|
||||
shell: bash
|
||||
run: |
|
||||
sudo apt-get update
|
||||
sudo apt-get install -y --no-install-recommends clang-format cmake-format shellcheck
|
||||
sudo apt-get install -y --no-install-recommends \
|
||||
clang-format \
|
||||
cmake-format \
|
||||
shellcheck
|
||||
|
||||
- name: Check code formatting
|
||||
- name: "Check code formatting"
|
||||
shell: bash
|
||||
run: ./.ci/lint_cpp.sh
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue