From 3ba85122f591b083e7389638267d437f0c0f9b7b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Cl=C3=A9ment=20Le=20Bihan?= Date: Sun, 23 May 2021 19:22:22 +0200 Subject: [PATCH] test --- .github/workflows/codingstyle.yml | 11 +++++++---- sources/main.cpp | 2 ++ 2 files changed, 9 insertions(+), 4 deletions(-) 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;