diff --git a/.github/workflows/cmake.yml b/.github/workflows/cmake.yml index 417b347..7008f67 100644 --- a/.github/workflows/cmake.yml +++ b/.github/workflows/cmake.yml @@ -18,7 +18,7 @@ jobs: runs-on: ubuntu-22.04 steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Configure CMake # Configure CMake in a 'build' subdirectory. `CMAKE_BUILD_TYPE` is only required if you are using a single-configuration generator such as make. diff --git a/.github/workflows/fast_test.yml b/.github/workflows/fast_test.yml index c6b2b10..0904f82 100644 --- a/.github/workflows/fast_test.yml +++ b/.github/workflows/fast_test.yml @@ -13,11 +13,11 @@ jobs: build: runs-on: ubuntu-22.04 steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Cache dependencies id: cache-all-deps - uses: actions/cache@v3 + uses: actions/cache@v4 env: cache-name: cache-dependencies with: diff --git a/.github/workflows/fast_test_debug b/.github/workflows/fast_test_debug index 4b406e7..f604149 100644 --- a/.github/workflows/fast_test_debug +++ b/.github/workflows/fast_test_debug @@ -13,11 +13,11 @@ jobs: build: runs-on: ubuntu-22.04 steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Cache dependencies id: cache-all-deps - uses: actions/cache@v3 + uses: actions/cache@v4 env: cache-name: cache-dependencies with: diff --git a/test/general_tests/CMakeLists.txt b/test/general_tests/CMakeLists.txt index 87156a4..8dfcce9 100644 --- a/test/general_tests/CMakeLists.txt +++ b/test/general_tests/CMakeLists.txt @@ -20,7 +20,7 @@ target_link_libraries(distribicom_general_tests multiplication_utils test_utils) # remove the test driver source file set (TestsToRun ${Tests}) -remove (TestsToRun general_tests.cpp) +list(REMOVE_ITEM TestsToRun general_tests.cpp) # Add all the ADD_TEST for each test foreach (test ${TestsToRun}) diff --git a/test/marshal/CMakeLists.txt b/test/marshal/CMakeLists.txt index dad119e..fc3468f 100644 --- a/test/marshal/CMakeLists.txt +++ b/test/marshal/CMakeLists.txt @@ -19,7 +19,7 @@ target_link_libraries(distribicom_marshal_tests multiplication_utils test_utils) # remove the test driver source file set(TestsToRun ${Tests}) -remove(TestsToRun marshal_tests.cpp) +list(REMOVE_ITEM TestsToRun marshal_tests.cpp) # Add all the ADD_TEST for each test foreach (test ${TestsToRun}) diff --git a/test/math_utils/CMakeLists.txt b/test/math_utils/CMakeLists.txt index e5b93fd..b4c78b2 100644 --- a/test/math_utils/CMakeLists.txt +++ b/test/math_utils/CMakeLists.txt @@ -28,7 +28,7 @@ target_link_libraries(distribicom_math_utils_tests multiplication_utils distribi # remove the test driver source file set(TestsToRun ${Tests}) -remove(TestsToRun math_utils_tests.cpp) +list(REMOVE_ITEM TestsToRun math_utils_tests.cpp) # Add all the ADD_TEST for each test foreach (test ${TestsToRun}) diff --git a/test/services/CMakeLists.txt b/test/services/CMakeLists.txt index 0cca207..399f56b 100644 --- a/test/services/CMakeLists.txt +++ b/test/services/CMakeLists.txt @@ -21,7 +21,7 @@ target_link_libraries(distribicom_services_tests services multiplication_utils d # remove the test driver source file set(TestsToRun ${Tests}) -remove(TestsToRun distribicom_services_tests.cpp) +list(REMOVE_ITEM TestsToRun distribicom_services_tests.cpp) # Add all the ADD_TEST for each test foreach (test ${TestsToRun})