Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 6 additions & 6 deletions .github/workflows/it-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
- name: Given the gh-action is used with default values
id: test-data
uses: ./
- uses: nick-fields/assert-action@aa0067e01f0f6545c31755d6ca128c5a3a14f6bf # v2
- uses: nick-fields/assert-action@22dd2a66ef733fe92022d3704183ac007463eecb # v3
name: Then outputs.status value must be 0 as the project itself makes use of pre-commit validation
with:
expected: 0
Expand All @@ -30,7 +30,7 @@ jobs:
uses: ./
with:
extra-args: --help
- uses: nick-fields/assert-action@aa0067e01f0f6545c31755d6ca128c5a3a14f6bf # v2.0.0
- uses: nick-fields/assert-action@22dd2a66ef733fe92022d3704183ac007463eecb # v3.0.0
name: Then outputs.logs should contain some printed documentation
with:
expected: "usage: pre-commit run"
Expand All @@ -49,7 +49,7 @@ jobs:
extra-args: '--all-files'
config-path: '.github/tests/resources/fail-check/.pre-commit-config.yaml'
ignore-failure: 'true'
- uses: nick-fields/assert-action@aa0067e01f0f6545c31755d6ca128c5a3a14f6bf # v2.0.0
- uses: nick-fields/assert-action@22dd2a66ef733fe92022d3704183ac007463eecb # v3.0.0
name: Then outputs.status value must be 1 as there are some errors
with:
expected: 1
Expand All @@ -68,7 +68,7 @@ jobs:
extra-args: '--all-files'
config-path: '.github/tests/resources/success-check/.pre-commit-config.yaml'
ignore-failure: 'true'
- uses: nick-fields/assert-action@aa0067e01f0f6545c31755d6ca128c5a3a14f6bf # v2.0.0
- uses: nick-fields/assert-action@22dd2a66ef733fe92022d3704183ac007463eecb # v3.0.0
name: Then outputs.status value must be 0 as there are no errors
with:
expected: 0
Expand All @@ -87,7 +87,7 @@ jobs:
extra-args: '--all-files'
config-path: '.github/tests/resources/fail-check/.pre-commit-config.yaml'
ignore-failure: 'true'
- uses: nick-fields/assert-action@aa0067e01f0f6545c31755d6ca128c5a3a14f6bf # v2.0.0
- uses: nick-fields/assert-action@22dd2a66ef733fe92022d3704183ac007463eecb # v3.0.0
name: Then it has to contain the failure message in the outputs.logs
with:
expected: "Failed"
Expand All @@ -106,7 +106,7 @@ jobs:
extra-args: '--all-files'
config-path: '.github/tests/resources/success-check/.pre-commit-config.yaml'
ignore-failure: 'true'
- uses: nick-fields/assert-action@aa0067e01f0f6545c31755d6ca128c5a3a14f6bf # v2.0.0
- uses: nick-fields/assert-action@22dd2a66ef733fe92022d3704183ac007463eecb # v3.0.0
name: Then it should not contain any 'Failed' in the outputs.logs
with:
expected: "Failed"
Expand Down