diff --git a/.github/workflows/commitlint.yml b/.github/workflows/commit-lint.yml similarity index 100% rename from .github/workflows/commitlint.yml rename to .github/workflows/commit-lint.yml diff --git a/.github/workflows/just-lint.yml b/.github/workflows/just-lint.yml new file mode 100644 index 0000000..6be94d2 --- /dev/null +++ b/.github/workflows/just-lint.yml @@ -0,0 +1,18 @@ +--- +name: Just Lint + +on: + push: + branches: ["main"] + pull_request: + branches: ["main"] + +jobs: + lint: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v6 + - name: Install just + uses: extractions/setup-just@v3 + - name: Lint justfiles + run: just --justfile just.just --working-directory . fmt-check diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml deleted file mode 100644 index 144a780..0000000 --- a/.github/workflows/lint.yml +++ /dev/null @@ -1,12 +0,0 @@ -name: Lint -on: - pull_request: - branches: ["main"] -jobs: - justfmt: - name: Justfile Formatting - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v6 - - uses: extractions/setup-just@v2 - - run: just --justfile just.just --working-directory . fmt-check