diff --git a/.github/workflows/codingstyle.yml b/.github/workflows/codingstyle.yml index 46c8bc56..e3a63dc5 100644 --- a/.github/workflows/codingstyle.yml +++ b/.github/workflows/codingstyle.yml @@ -10,7 +10,10 @@ jobs: run: pip install cpplint - name: Run cpplint run: | - cpplint --recursive --quiet --verbose=3 . - env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - GITHUB_REPO: "github.com/AnonymusRaccoon/Bomberman" \ No newline at end of file + cpplint --recursive --quiet --verbose=3 . 2 > tmp + - name: Comment PR + if: ${{ failure() && github.event_name == 'pull_request' }} + uses: thollander/actions-comment-pull-request@master + with: + message: ${{ cat tmp }} + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} \ No newline at end of file diff --git a/sources/main.cpp b/sources/main.cpp index bc091ba2..3c673dab 100644 --- a/sources/main.cpp +++ b/sources/main.cpp @@ -10,6 +10,8 @@ #include #include "Wal.hpp" +using namespace std; + int main() { WAL::Wal wal;