ci(publish): fix permissions indent #4
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Test | |
| on: | |
| push: | |
| branches: ["main"] | |
| pull_request: | |
| workflow_dispatch: | |
| jobs: | |
| test: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Set up Lua | |
| uses: leafo/gh-actions-lua@v11 | |
| with: | |
| luaVersion: "5.4.8" | |
| - name: Set up LuaRocks | |
| uses: leafo/gh-actions-luarocks@v5 | |
| - name: Install LuaCov | |
| run: luarocks install LuaCov | |
| - name: Run Test Suite | |
| run: luarocks test -- -c -o TAP | |
| - name: Upload Coverage Report | |
| uses: actions/[email protected] | |
| with: | |
| name: luacov-report-${{ github.sha }}.html | |
| path: ./luacov.report.html |