From df150db3fc29546ef983acdcc51182e12e212d17 Mon Sep 17 00:00:00 2001 From: Tim van Dijen Date: Sat, 12 Aug 2023 22:11:43 +0200 Subject: [PATCH] Bump super-linter --- .github/workflows/documentation.yml | 1 + .github/workflows/php.yml | 17 ++++++++++++++++- 2 files changed, 17 insertions(+), 1 deletion(-) diff --git a/.github/workflows/documentation.yml b/.github/workflows/documentation.yml index 4af345a..dd34a89 100644 --- a/.github/workflows/documentation.yml +++ b/.github/workflows/documentation.yml @@ -11,6 +11,7 @@ on: # yamllint disable-line rule:truthy branches: [master, release-*] paths: - '**.md' + workflow_dispatch: jobs: quality: diff --git a/.github/workflows/php.yml b/.github/workflows/php.yml index fc7bb63..0d5331a 100644 --- a/.github/workflows/php.yml +++ b/.github/workflows/php.yml @@ -11,6 +11,7 @@ on: # yamllint disable-line rule:truthy branches: [master, release-*] paths-ignore: - '**.md' + workflow_dispatch: jobs: linter: @@ -23,7 +24,7 @@ jobs: fetch-depth: 0 - name: Lint Code Base - uses: github/super-linter/slim@v5 + uses: super-linter/super-linter/slim@v6 env: LOG_LEVEL: NOTICE VALIDATE_ALL_CODEBASE: true @@ -312,3 +313,17 @@ jobs: token: ${{ secrets.CODECOV_TOKEN }} fail_ci_if_error: true verbose: true + + cleanup: + name: Cleanup artifacts + needs: [unit-tests-linux, coverage] + runs-on: [ubuntu-latest] + if: | + always() && + needs.coverage.result == 'success' || + (needs.unit-tests-linux == 'success' && needs.coverage == 'skipped') + + steps: + - uses: geekyeggo/delete-artifact@v2 + with: + name: coverage-data