From dc0de9cd221605f0bda87d8e80b330ba60cf0650 Mon Sep 17 00:00:00 2001 From: Boris Skert Date: Fri, 29 Nov 2024 17:34:53 +0100 Subject: [PATCH] Update GitHub CI workflow actions (#13) * Update OSes and action versions * Fix build error --- .github/workflows/cmake.yml | 12 ++++++------ src/simple_assembler_interpreter/assembler.cpp | 1 + 2 files changed, 7 insertions(+), 6 deletions(-) diff --git a/.github/workflows/cmake.yml b/.github/workflows/cmake.yml index bea05b5..134eef4 100644 --- a/.github/workflows/cmake.yml +++ b/.github/workflows/cmake.yml @@ -9,11 +9,11 @@ on: jobs: build-linux: - runs-on: ubuntu-20.04 + runs-on: ubuntu-latest steps: - name: Checkout - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Build working-directory: ./build @@ -26,11 +26,11 @@ jobs: run: ./cpp_katas_test --output=color build-macos: - runs-on: macos-11 + runs-on: macos-latest steps: - name: Checkout - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Build working-directory: ./build @@ -43,11 +43,11 @@ jobs: run: ./cpp_katas_test --output=color build-windows: - runs-on: windows-2019 + runs-on: windows-latest steps: - name: Checkout - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Install needed software run: | diff --git a/src/simple_assembler_interpreter/assembler.cpp b/src/simple_assembler_interpreter/assembler.cpp index 5a9e6cf..421238e 100644 --- a/src/simple_assembler_interpreter/assembler.cpp +++ b/src/simple_assembler_interpreter/assembler.cpp @@ -1,3 +1,4 @@ +#include #include #include #include