feat: hide empty countdown cell for finished countdowns #24652
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: Lua Code Style and Unit Tests | |
| on: [pull_request, workflow_dispatch] | |
| jobs: | |
| lua-code-style: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v6 | |
| - name: Setup lua | |
| # Workaround until https://github.com/leafo/gh-actions-lua/issues/57 is resolved | |
| # uses: leafo/gh-actions-lua@v11 | |
| uses: lewis6991/gh-actions-lua@01aab24c4de9555717b685f9b142a2abbe12ef14 | |
| with: | |
| luaVersion: '5.1' | |
| - name: Setup luarock | |
| uses: leafo/gh-actions-luarocks@v5 | |
| - name: Setup dependencies | |
| run: | | |
| luarocks install --lua-version=5.1 luacheck | |
| - name: Run lint | |
| run: | | |
| luacheck lua --config lua/.luacheckrc | | |
| luacheck lua --config lua/.luacheckrc --formatter=JUnit > report.xml | |
| - name: Report lint | |
| uses: mikepenz/action-junit-report@v6 | |
| if: always() | |
| with: | |
| report_paths: 'report.xml' | |
| check_name: 'Lint Report' | |
| annotate_only: ${{ (github.event.pull_request.head.repo.full_name != github.repository) }} | |
| lua-unit-test: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v6 | |
| - name: Setup lua | |
| # Workaround until https://github.com/leafo/gh-actions-lua/issues/57 is resolved | |
| # uses: leafo/gh-actions-lua@v11 | |
| uses: lewis6991/gh-actions-lua@01aab24c4de9555717b685f9b142a2abbe12ef14 | |
| with: | |
| luaVersion: '5.1' | |
| - name: Setup luarocks | |
| uses: leafo/gh-actions-luarocks@v5 | |
| - name: Setup dependencies | |
| run: | | |
| luarocks install --lua-version=5.1 busted | |
| - name: Run test | |
| run: | | |
| busted -C lua -v --run=ci --output=junit > busted.xml | |
| - name: Report test | |
| uses: mikepenz/action-junit-report@v6 | |
| if: always() | |
| with: | |
| report_paths: 'busted.xml' | |
| check_name: 'Test Report' | |
| annotate_only: ${{ (github.event.pull_request.head.repo.full_name != github.repository) }} |