From 502ddd1ad9382ee1b2e9b2e7308a8a1f541089be Mon Sep 17 00:00:00 2001 From: David Bailey Date: Thu, 19 Oct 2023 21:53:41 +0200 Subject: [PATCH] ci: moved lint file name --- .forgejo/workflows/lint.yaml | 14 ++++++++++++++ .forgejo/workflows/phplint.yaml | 10 ---------- 2 files changed, 14 insertions(+), 10 deletions(-) create mode 100644 .forgejo/workflows/lint.yaml delete mode 100644 .forgejo/workflows/phplint.yaml diff --git a/.forgejo/workflows/lint.yaml b/.forgejo/workflows/lint.yaml new file mode 100644 index 0000000..46a5a88 --- /dev/null +++ b/.forgejo/workflows/lint.yaml @@ -0,0 +1,14 @@ +on: [push] + +jobs: + phplint: + runs-on: docker + steps: + - uses: actions/checkout@v3 + - uses: docker://cytopia/phplint:alpine + with: + cmd: -i ./vendor/.* *.php + - uses: github.com/DavidAnson/markdownlint-cli2-action@v13 + with: + globs: '**/*.md' + continue-on-error: true \ No newline at end of file diff --git a/.forgejo/workflows/phplint.yaml b/.forgejo/workflows/phplint.yaml deleted file mode 100644 index e2d7069..0000000 --- a/.forgejo/workflows/phplint.yaml +++ /dev/null @@ -1,10 +0,0 @@ -on: [push] - -jobs: - phplint: - runs-on: docker - steps: - - uses: actions/checkout@v3 - - uses: docker://cytopia/phplint:alpine - with: - cmd: -i ./vendor/.* *.php \ No newline at end of file