Skip to content

Commit

Permalink
Use set instead of tuple.
Browse files Browse the repository at this point in the history
Co-authored-by: Sviatoslav Sydorenko <[email protected]>
  • Loading branch information
felixfontein and webknjaz committed Jan 3, 2023
1 parent d9e92e7 commit b15842a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -236,7 +236,7 @@ runs:
coverage = '${{ inputs.coverage }}'
# Validate GHA inputs
if coverage not in ('always', 'never', 'auto'):
if coverage not in {'always', 'never', 'auto'}:
print(
'::error ::`coverage` must have one of the values `always`,'
f' `never`, or `auto`. The current value is `{coverage}`.'
Expand Down

0 comments on commit b15842a

Please sign in to comment.