From fa20328bd54262fcba9558b6049c1f0ddef2ecca Mon Sep 17 00:00:00 2001 From: Matthew Nitschke Date: Thu, 17 Oct 2024 09:35:21 -0600 Subject: [PATCH] added format check option --- .github/workflows/checks.yaml | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/.github/workflows/checks.yaml b/.github/workflows/checks.yaml index faac61e..5226582 100644 --- a/.github/workflows/checks.yaml +++ b/.github/workflows/checks.yaml @@ -13,6 +13,14 @@ on: provided command results in a non-zero exit code, OR modifies the source. type: string + format-check: + description: > + Whether or not to execute the format check. This is provided + as a separate input to allow for running this checks workflow + using different sdk versions, in a matrix. + default: true + type: boolean + sdk: description: See https://github.com/dart-lang/setup-dart default: 2.19.6 @@ -40,6 +48,7 @@ jobs: format: runs-on: ubuntu-latest + if: ${{ inputs.format-check}} steps: - uses: actions/checkout@v4 - uses: dart-lang/setup-dart@v1