Skip to content

Commit

Permalink
Merge branch 'main' into feature/global-instances
Browse files Browse the repository at this point in the history
  • Loading branch information
ion098 authored Jul 20, 2024
2 parents fd24a3f + e5b0c43 commit 1997092
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 1 deletion.
21 changes: 21 additions & 0 deletions .github/workflows/clang-format.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
name: test-clang-format

on:
push:
branches:
- '*'
pull_request:
workflow_dispatch:


jobs:
build:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2
- uses: DoozyX/[email protected]
with:
source: './src/gamepad ./include/gamepad'
extensions: 'hpp,cpp'
clangFormatVersion: 17
2 changes: 1 addition & 1 deletion .github/workflows/pr-comment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ jobs:
const old_marker = new RegExp(marker.replace("\r\n", "\r?\n")).exec(old_body)?.[0] ?? marker;
body = old_body.split(old_marker)[0] + marker + body;
body = (old_body ?? "").split(old_marker)[0] + marker + body;
await github.request('PATCH /repos/{owner}/{repo}/pulls/{pull_number}', {
owner: owner,
repo: repo,
Expand Down

0 comments on commit 1997092

Please sign in to comment.