Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion .github/workflows/clockwork.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,14 +4,17 @@ on:
push:
branches:
- main
- pre-releases
pull_request:
branches:
- main

jobs:
Compilation:
uses: ./.github/workflows/compilation.yml
Linter:
uses: ./.github/workflows/linter.yml
secrets:
token: ${{ secrets.ACCESS_TOKEN }}
Prerelease:
needs: [Compilation]
uses: ./.github/workflows/prerelease.yml
Expand Down
28 changes: 28 additions & 0 deletions .github/workflows/linter.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
name: Linter

on:
workflow_call:
secrets:
token:
required: true

jobs:
cpp-linter:
runs-on: ubuntu-latest
steps:
- name: Checkout Repo
uses: actions/checkout@v4
with:
persist-credentials: false

- name: Run cpp-linter
uses: cpp-linter/cpp-linter-action@v2.15.0
id: linter
continue-on-error: true
env:
GITHUB_TOKEN: ${{ secrets.token }}
with:
style: file
tidy-checks:
files-changed-only: false
thread-comments: false
2 changes: 1 addition & 1 deletion .github/workflows/prerelease.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:
- x86-64-v4
runs-on: ubuntu-latest
steps:
- name: Check Out Repo
- name: Checkout Repo
uses: actions/checkout@v4
with:
persist-credentials: false
Expand Down