From 477dc9f862629b2b63e025e073ce072c5fab9f31 Mon Sep 17 00:00:00 2001 From: Thijs Schreijer Date: Mon, 21 Apr 2025 10:38:07 +0200 Subject: fix(readme): fix the lint badge (#68) --- .github/workflows/lint.yml | 29 +++++++++++++++++++++++++++++ .github/workflows/luacheck.yml | 29 ----------------------------- 2 files changed, 29 insertions(+), 29 deletions(-) create mode 100644 .github/workflows/lint.yml delete mode 100644 .github/workflows/luacheck.yml diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml new file mode 100644 index 0000000..83abc44 --- /dev/null +++ b/.github/workflows/lint.yml @@ -0,0 +1,29 @@ +--- +name: Lint + +on: [push, pull_request] + +jobs: + + luacheck: + runs-on: ubuntu-22.04 + steps: + - name: Checkout + uses: actions/checkout@v4 + - name: Luacheck + uses: lunarmodules/luacheck@v1 + + yamllint: + name: Run yamllint + runs-on: ubuntu-latest + + steps: + - name: Checkout repository + uses: actions/checkout@v4 + - name: Set up Python + uses: actions/setup-python@v5 + - name: Install yamllint + run: pip install yamllint + - name: Run yamllint + run: | + yamllint . diff --git a/.github/workflows/luacheck.yml b/.github/workflows/luacheck.yml deleted file mode 100644 index 3ad8db7..0000000 --- a/.github/workflows/luacheck.yml +++ /dev/null @@ -1,29 +0,0 @@ ---- -name: Luacheck - -on: [push, pull_request] - -jobs: - - luacheck: - runs-on: ubuntu-22.04 - steps: - - name: Checkout - uses: actions/checkout@v4 - - name: Luacheck - uses: lunarmodules/luacheck@v1 - - yamllint: - name: Run yamllint - runs-on: ubuntu-latest - - steps: - - name: Checkout repository - uses: actions/checkout@v4 - - name: Set up Python - uses: actions/setup-python@v5 - - name: Install yamllint - run: pip install yamllint - - name: Run yamllint - run: | - yamllint . -- cgit v1.2.3-55-g6feb