diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index 942ec4c..676f402 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -3,8 +3,8 @@ name: CI
on: [push, pull_request]
jobs:
- ci:
- name: ${{ matrix.name }}
+ build-and-test:
+ name: test-${{ matrix.name }}
runs-on: ${{ matrix.os }}
strategy:
@@ -105,7 +105,7 @@ jobs:
compiler: clang
steps:
- - uses: actions/checkout@v2
+ - uses: actions/checkout@v3
- name: Setup Cpp
uses: aminya/setup-cpp@v1
@@ -125,3 +125,24 @@ jobs:
cmake -B build -S . -DCMAKE_BUILD_TYPE=Release ${{ matrix.cmake_vars }}
cmake --build build -j2
cd build && ctest -j2 --output-on-failure
+
+
+ check-single-include:
+ runs-on: ubuntu-latest
+ steps:
+ - uses: actions/checkout@v3
+
+ - name: Update single include
+ run: |
+ mv single_include/inja/inja.hpp single_include/inja/inja_old.hpp
+ bash scripts/update_single_include.sh
+
+ - name: Check if equal
+ working-directory: single_include
+ run: |
+ diff inja/inja.hpp inja/inja_old.hpp >/dev/null
+
+ - uses: actions/upload-artifact@v3
+ with:
+ name: single_include_inja
+ path: single_include/inja/inja.hpp
diff --git a/.github/workflows/documentation.yml b/.github/workflows/documentation.yml
index e32cfeb..7d643f0 100644
--- a/.github/workflows/documentation.yml
+++ b/.github/workflows/documentation.yml
@@ -6,21 +6,20 @@ on:
- master
jobs:
- build-deploy:
+ build-and-deploy:
runs-on: ubuntu-latest
steps:
- - uses: actions/checkout@v2
+ - uses: actions/checkout@v3
- - name: dependencies
- env:
- dependency_packages: doxygen
- run: sudo apt-get update && sudo apt-get -y install ${dependency_packages}
+ - name: Install doxygen
+ run: sudo apt-get -y install doxygen
- - name: build
- run: cd doc && doxygen ./Doxyfile
+ - name: Build documentation
+ working-directory: doc
+ run: doxygen
- - name: deploy
- uses: peaceiris/actions-gh-pages@v2.2.0
+ - name: Deploy documentation
+ uses: peaceiris/actions-gh-pages@v3
env:
ACTIONS_DEPLOY_KEY: ${{ secrets.ACTIONS_DEPLOY_KEY }}
PUBLISH_BRANCH: gh-pages
diff --git a/.github/workflows/single-include.yml b/.github/workflows/single-include.yml
deleted file mode 100644
index 3aa6210..0000000
--- a/.github/workflows/single-include.yml
+++ /dev/null
@@ -1,25 +0,0 @@
-name: Single Include
-
-on: [push, pull_request]
-
-jobs:
- test:
- runs-on: ubuntu-latest
- steps:
- - uses: actions/checkout@v2
-
- - name: update single include
- run: |
- mv single_include/inja/inja.hpp single_include/inja/inja_old.hpp
- bash scripts/update_single_include.sh
-
- - name: check if equal
- working-directory: ${{runner.workspace}}/inja/single_include/
- shell: bash
- run: |
- diff inja/inja.hpp inja/inja_old.hpp >/dev/null
-
- - uses: actions/upload-artifact@v3
- with:
- name: single_include_inja
- path: single_include/inja/inja.hpp
diff --git a/README.md b/README.md
index 9d66a2c..2c66193 100644
--- a/README.md
+++ b/README.md
@@ -4,23 +4,18 @@
-
-
-
-
-