From 0f534ff2e06da5e5604d7d662ff979c8cccff385 Mon Sep 17 00:00:00 2001 From: Ismoh <12631485+Ismoh@users.noreply.github.com> Date: Mon, 4 Dec 2023 23:21:05 +0100 Subject: [PATCH] Update lua-docs generation and fix markdown issues --- .github/workflows/lua-doc.yml | 20 +++++++++++++++----- 1 file changed, 15 insertions(+), 5 deletions(-) diff --git a/.github/workflows/lua-doc.yml b/.github/workflows/lua-doc.yml index b84eaf631..56e37b645 100644 --- a/.github/workflows/lua-doc.yml +++ b/.github/workflows/lua-doc.yml @@ -4,7 +4,7 @@ on: push jobs: generate-lua-docs: - name: 'Generate lua docs' + name: "Generate lua docs" runs-on: windows-latest steps: @@ -15,11 +15,11 @@ jobs: env: GITHUB_CONTEXT: ${{ toJson(github) }} - - name: 'Generate lua docs with lua-language-server' + - name: "Generate lua docs with lua-language-server" shell: cmd run: | ${{ github.workspace }}\\.building\\lua-language-server-3.6.18-win32-x64\\bin\\lua-language-server.exe --logpath \"${{ github.workspace }}\\docs\\lua-docs\" --configpath \"${{ github.workspace }}\\docs\\lua-docs\\lua-language-server-config.lua\" --doc \"${{ github.workspace }}\\mods\\noita-mp\\files\\scripts\" - cd ${{ github.workspace }}\\docs\\lua-docs\\ + cd ${{ github.workspace }}\\docs\\lua-docs\\ DEL /f *.log # https://api.github.com/users/github-actions%5Bbot%5D git config --global user.name "github-actions[bot]" @@ -27,8 +27,8 @@ jobs: git add . git commit -m "Updated generated lua docs" git push origin - - - name: 'Fix wrong paths in lua docs' + + - name: "Fix wrong paths in lua docs" shell: pwsh run: | $env:Path += ";C:\Program Files\Git\usr\bin" @@ -42,3 +42,13 @@ jobs: git add . git commit -m "Updated generated lua docs" git push origin + + fix-markdown-issues: + name: "Fix markdown errors" + runs-on: ubuntu-latest + steps: + - name: Check out code + uses: actions/checkout@v3 + + - name: Lint changelog file + uses: docker://avtodev/markdown-lint:v1