From 537a8cf91349a5c30ace766adedfe75e965053bb Mon Sep 17 00:00:00 2001 From: Michael Hirsch Date: Fri, 24 Jun 2022 18:19:32 -0400 Subject: [PATCH 1/2] gameboard.hpp: don't redefine class point2D_t as struct --- src/headers/gameboard.hpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/headers/gameboard.hpp b/src/headers/gameboard.hpp index 4f60a718..b512ebb9 100644 --- a/src/headers/gameboard.hpp +++ b/src/headers/gameboard.hpp @@ -1,12 +1,11 @@ #ifndef GAMEBOARD_H #define GAMEBOARD_H +#include "point2d.hpp" #include "tile.hpp" #include #include -struct point2D_t; - namespace Game { struct GameBoard { From 2dfba765dfd0adc50734ad9a2e0e51af98cab129 Mon Sep 17 00:00:00 2001 From: Michael Hirsch Date: Fri, 24 Jun 2022 18:21:59 -0400 Subject: [PATCH 2/2] ci: run also on header .hpp changes --- .github/workflows/ci.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index ee5ad1db..d7aab588 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -4,12 +4,14 @@ on: push: paths: - "**.cpp" + - "**.hpp" - "**.cmake" - "**/CMakeLists.txt" - ".github/workflows/ci.yml" pull_request: paths: - "**.cpp" + - "**.hpp" - "**.cmake" - "**/CMakeLists.txt" - ".github/workflows/ci.yml"