Sunshine/.github/workflows/clang.yml
ReenigneArcher 2be7790415 Update clang.yml
- Add upload artifacts
2022-02-16 17:58:06 -05:00

30 lines
600 B
YAML

name: clang-format-lint
on:
pull_request:
branches: [master, nightly]
types: [opened, synchronize, edited, reopened]
jobs:
lint:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Clang format lint
uses: DoozyX/clang-format-lint-action@v0.13
with:
source: './sunshine'
extensions: 'cpp,h'
clangFormatVersion: 13
style: file
inplace: False
- name: Upload Artifacts
uses: actions/upload-artifact@v2
with:
name: clang-formatted-files
path: sunshine/