Skip to content

Bump actions/checkout from 4.1.1 to 4.1.2 #245

Bump actions/checkout from 4.1.1 to 4.1.2

Bump actions/checkout from 4.1.1 to 4.1.2 #245

Workflow file for this run

name: Cleanup Cancel Test
on:
pull_request:
jobs:
can_cancel_cleanup:
name: Can Cleanup and Cancel Cleanup
runs-on: ubuntu-latest
steps:
- name: Check out Code
uses: actions/checkout@9bb56186c3b09b4f86b1c65136769dd318469633 # v4.1.2
- name: cleanup with cancel
if: always()
id: did_skip
uses: ./chainlink-testing-framework/cleanup
with:
triggered_by: "blank"
should_cleanup: "false"
- name: Verify the cleanup did not run
run: |
if [ "${{ steps.did_skip.outputs.did_skip_clean }}" != "true" ]; then
echo "Failed to skip the cleanup"
exit 1
fi
- name: cleanup without cancel
if: always()
id: did_not_skip
uses: ./chainlink-testing-framework/cleanup
with:
triggered_by: "blank"
should_cleanup: "true"
- name: Verify the cleanup did run
run: |
if [ "${{ steps.did_not_skip.outputs.did_skip_clean }}" != "false" ]; then
echo "Failed to run the cleanup"
exit 1
fi