mirror of
https://github.com/fergalmoran/flameshot.git
synced 2026-02-13 05:54:01 +00:00
* chore(ci): upgrade actions virtual environment * chore(ci): upgrade actions * chore(ci): upgrade vcpkg
24 lines
551 B
YAML
24 lines
551 B
YAML
name: test-clang-format
|
|
|
|
on: [push, pull_request]
|
|
|
|
jobs:
|
|
build:
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
- name: Checkout Source code
|
|
if: github.event_name == 'push'
|
|
uses: actions/checkout@v3
|
|
- name: Checkout Source code
|
|
if: github.event_name == 'pull_request'
|
|
uses: actions/checkout@v3
|
|
with:
|
|
ref: ${{ github.event.pull_request.head.sha }}
|
|
- uses: DoozyX/clang-format-lint-action@v0.13
|
|
with:
|
|
source: './src'
|
|
extensions: 'h,cpp'
|
|
clangFormatVersion: 11
|
|
style: file
|