Skip to content

Commit

Permalink
added format check option
Browse files Browse the repository at this point in the history
  • Loading branch information
matthewnitschke-wk committed Oct 17, 2024
1 parent 73a8cd4 commit fa20328
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions .github/workflows/checks.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit fa20328

Please sign in to comment.