aboutsummaryrefslogtreecommitdiff
path: root/deps/inja/.github/workflows/single-include.yml
diff options
context:
space:
mode:
Diffstat (limited to 'deps/inja/.github/workflows/single-include.yml')
-rw-r--r--deps/inja/.github/workflows/single-include.yml29
1 files changed, 29 insertions, 0 deletions
diff --git a/deps/inja/.github/workflows/single-include.yml b/deps/inja/.github/workflows/single-include.yml
new file mode 100644
index 0000000..44a5a66
--- /dev/null
+++ b/deps/inja/.github/workflows/single-include.yml
@@ -0,0 +1,29 @@
+name: Single Include
+
+on: [push, pull_request]
+
+jobs:
+ test:
+ runs-on: ubuntu-latest
+ steps:
+ - uses: actions/checkout@master
+
+ - 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: |
+ pwd
+ ls inja
+ cat inja/inja.hpp
+ cat inja/inja_old.hpp
+ diff inja/inja.hpp inja/inja_old.hpp >/dev/null
+
+ - uses: actions/upload-artifact@v1
+ with:
+ name: single_include_inja
+ path: single_include/inja/inja.hpp