Problem: CI used a single tests.yml for linting, typechecking, and testing. No conditional path filtering, no markdown format check, and a stale mirror_upstream_prs.yml and duplicate luarocks.yml existed. Solution: replace tests.yml with quality.yaml (stylua, selene, lua-typecheck, prettier with dorny/paths-filter) and test.yaml (nvim-busted, stable+nightly matrix). Update luarocks.yaml to reference quality.yaml. Delete mirror_upstream_prs.yml and duplicate luarocks.yml. Fix automation workflow sender check.
21 lines
342 B
YAML
21 lines
342 B
YAML
name: luarocks
|
|
|
|
on:
|
|
push:
|
|
tags:
|
|
- 'v*'
|
|
|
|
jobs:
|
|
quality:
|
|
uses: ./.github/workflows/quality.yaml
|
|
|
|
publish:
|
|
needs: quality
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
- uses: actions/checkout@v4
|
|
|
|
- uses: nvim-neorocks/luarocks-tag-release@v7
|
|
env:
|
|
LUAROCKS_API_KEY: ${{ secrets.LUAROCKS_API_KEY }}
|