mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-06-10 00:04:48 -07:00
The webclient has been extracted to https://github.com/seavor/Webatrice and the Playwright e2e suite has moved to Sockatrice. Cockatrice keeps no copy. Deleted: - webclient/ (entire tree, 349 files) - .github/workflows/web-build.yml, web-lint.yml - .husky/pre-commit (the only tracked husky hook; managed entirely from webclient's package.json which no longer exists) Edited: - .tx/config: dropped the webclient resource block; Webatrice/.tx/config now manages its own translations - .github/workflows/translations-pull.yml: removed webclient locales from add-paths - .github/workflows/desktop-build.yml, desktop-lint.yml: removed dead '!webclient/**' and '!.husky/**' path-filter exclusions - .github/dependabot.yml: removed commented-out npm/webclient block - Doxyfile: removed webclient/ from EXCLUDE list - .ci/release_template.md: dropped Webatrice section (Webatrice now cuts its own releases) - README.md: dropped 'first work on a webclient' line, added Webatrice to Related Repositories, updated translation paragraph and build badges History preserved: every webclient commit remains recoverable via git log on master before this commit.
37 lines
876 B
YAML
37 lines
876 B
YAML
name: Code Style (C++)
|
|
|
|
on:
|
|
# push trigger not needed for linting, we do not allow direct pushes to master
|
|
pull_request:
|
|
paths:
|
|
- '*/**' # matches all files not in root
|
|
- '!**.md'
|
|
- '!.ci/**'
|
|
- '!.github/**'
|
|
- '!.tx/**'
|
|
- '!doc/**'
|
|
- '.ci/lint_cpp.sh'
|
|
- '.github/workflows/desktop-lint.yml'
|
|
- '.clang-format'
|
|
- '.cmake-format.json'
|
|
- 'format.sh'
|
|
|
|
jobs:
|
|
format:
|
|
runs-on: ubuntu-slim
|
|
|
|
steps:
|
|
- name: Checkout
|
|
uses: actions/checkout@v6
|
|
with:
|
|
fetch-depth: 20 # should be enough to find merge base
|
|
|
|
- name: Install dependencies
|
|
shell: bash
|
|
run: |
|
|
sudo apt-get update
|
|
sudo apt-get install -y --no-install-recommends clang-format cmake-format shellcheck
|
|
|
|
- name: Check code formatting
|
|
shell: bash
|
|
run: ./.ci/lint_cpp.sh
|