From 4fb1676748b9c6b4ddfbcfb58b26bd3282c7a7e6 Mon Sep 17 00:00:00 2001 From: mesbah tanvir Date: Sat, 14 Aug 2021 08:09:12 +0800 Subject: [PATCH] add lint and pdf --- .github/workflows/lint-and-pdf.yml | 16 ++++++++++++++++ .gitignore | 5 ++++- .idea/.gitignore | 8 ++++++++ 3 files changed, 28 insertions(+), 1 deletion(-) create mode 100644 .github/workflows/lint-and-pdf.yml create mode 100644 .idea/.gitignore diff --git a/.github/workflows/lint-and-pdf.yml b/.github/workflows/lint-and-pdf.yml new file mode 100644 index 00000000..686b4179 --- /dev/null +++ b/.github/workflows/lint-and-pdf.yml @@ -0,0 +1,16 @@ +name: Lint Markdown and Generate PDF + +on: [ push ] + +jobs: + lint-markdown: + runs-on: ubuntu-latest + steps: + - name: Checkout + uses: actions/checkout@v2 + + - name: Lint Markdown files + uses: lint-md/github-action@v0.0.2 + + - name: Markdown to PDF and HTML + uses: BaileyJM02/markdown-to-pdf@v1 diff --git a/.gitignore b/.gitignore index 5ca2fa24..5728272d 100644 --- a/.gitignore +++ b/.gitignore @@ -61,4 +61,7 @@ target/ scratch/ # IPython Notebook templates -template.ipynb \ No newline at end of file +template.ipynb + +# Intelij IDE +.idea diff --git a/.idea/.gitignore b/.idea/.gitignore new file mode 100644 index 00000000..73f69e09 --- /dev/null +++ b/.idea/.gitignore @@ -0,0 +1,8 @@ +# Default ignored files +/shelf/ +/workspace.xml +# Datasource local storage ignored files +/dataSources/ +/dataSources.local.xml +# Editor-based HTTP Client requests +/httpRequests/