diff --git a/.gitea/workflows/action.yaml b/.gitea/workflows/action.yaml index 694a982..f7ef2bd 100644 --- a/.gitea/workflows/action.yaml +++ b/.gitea/workflows/action.yaml @@ -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