Run linting commands
Some checks failed
Example Action / Lint (push) Failing after 1s
Example Action / Build (push) Successful in 1s

This commit is contained in:
2025-07-04 11:33:18 +02:00
parent 44d4b83a80
commit c0ac01b3d6

View File

@ -2,9 +2,15 @@ name: Example Action
on: [push]
jobs:
Example-Actions:
Lint:
runs-on: linepics
steps:
- run: echo "🎉 The job was automatically triggered by a ${{ gitea.event_name }} event."
- run: echo "🐧 This job is now running on a ${{ runner.os }} server hosted by Gitea!"
- run: echo "🔎 The name of your branch is ${{ gitea.ref }} and your repository is ${{ gitea.repository }}."
- name: cppcheck
run: cppcheck --std=c++17 --addon=cert --addon=misc --error-exitcode=1 src/*.cpp
- name: formatting
run: clang-format --style=file --Werror --dry-run src/*.cpp
Build:
runs-on: linepics
steps:
- run: |
ls -lsah