mirror of
https://github.com/Nimac0/SDL_Minigame
synced 2026-01-12 15:53:42 +00:00
Compare commits
2 Commits
b3f6765f2e
...
166ea55812
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
166ea55812 | ||
| 2ec175d6ad |
6
.github/workflows/cpp-linter.yaml
vendored
6
.github/workflows/cpp-linter.yaml
vendored
@ -18,6 +18,10 @@ jobs:
|
|||||||
build-dir: 'build'
|
build-dir: 'build'
|
||||||
run-build: false
|
run-build: false
|
||||||
options: 'CMAKE_EXPORT_COMPILE_COMMANDS=1'
|
options: 'CMAKE_EXPORT_COMPILE_COMMANDS=1'
|
||||||
|
- uses: actions/upload-artifact@v4
|
||||||
|
with:
|
||||||
|
name: compile_commands
|
||||||
|
path: /home/runner/work/Engine/Engine/build
|
||||||
- uses: cpp-linter/cpp-linter-action@main
|
- uses: cpp-linter/cpp-linter-action@main
|
||||||
id: linter
|
id: linter
|
||||||
continue-on-error: true
|
continue-on-error: true
|
||||||
@ -36,7 +40,7 @@ jobs:
|
|||||||
format-review: true
|
format-review: true
|
||||||
|
|
||||||
- name: Fail fast?!
|
- name: Fail fast?!
|
||||||
if: steps.linter.outputs.checks-failed != 0
|
if: steps.linter.outputs.checks-failed > 0
|
||||||
run: |
|
run: |
|
||||||
echo "some linter checks failed. ${{ steps.linter.outputs.checks-failed }}"
|
echo "some linter checks failed. ${{ steps.linter.outputs.checks-failed }}"
|
||||||
# for actual deployment
|
# for actual deployment
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user