mirror of
https://github.com/LizardByte/Sunshine.git
synced 2024-11-18 02:09:49 +00:00
536df759ae
- remove ubuntu 21.04 from CI (end of life) - adjust matrix strategy for clang.yml - Use lessons learned from RetroArcher on localize.yml, crowdin.yml, and locale.py - Add end of life comments to Dockerfiles - Adjust dependency order in Dockerfiles
32 lines
640 B
YAML
32 lines
640 B
YAML
name: clang-format-lint
|
|
|
|
on:
|
|
pull_request:
|
|
branches: [master, nightly]
|
|
types: [opened, synchronize, edited, reopened]
|
|
|
|
jobs:
|
|
lint:
|
|
name: Clang Format Lint
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
- name: Checkout
|
|
uses: actions/checkout@v3
|
|
|
|
- name: Clang format lint
|
|
uses: DoozyX/clang-format-lint-action@v0.13
|
|
with:
|
|
source: './sunshine'
|
|
extensions: 'cpp,h,m,mm'
|
|
clangFormatVersion: 13
|
|
style: file
|
|
inplace: false
|
|
|
|
- name: Upload Artifacts
|
|
if: failure()
|
|
uses: actions/upload-artifact@v3
|
|
with:
|
|
name: sunshine
|
|
path: sunshine/
|