Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Szegoo committed Apr 16, 2024
1 parent afe5e18 commit a62cd10
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 15 deletions.
12 changes: 0 additions & 12 deletions .github/workflows/basic.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,6 @@ jobs:
- uses: Swatinem/rust-cache@v2
- uses: ./.github/actions/setup

- name: Cancel Previous Workflow Runs
uses: styfle/cancel-workflow-action

- name: Setup SSH
uses: webfactory/ssh-agent@v0.5.3
with:
Expand All @@ -44,9 +41,6 @@ jobs:
- uses: Swatinem/rust-cache@v2
- uses: ./.github/actions/setup

- name: Cancel Previous Workflow Runs
uses: styfle/cancel-workflow-action

- name: Setup SSH
uses: webfactory/ssh-agent@v0.5.3
with:
Expand All @@ -67,9 +61,6 @@ jobs:
- uses: actions/checkout@v4
- uses: ./.github/actions/setup

- name: Cancel Previous Workflow Runs
uses: styfle/cancel-workflow-action

- name: Install psvm
run: |
cargo install --git https://github.com/paritytech/psvm psvm
Expand All @@ -86,9 +77,6 @@ jobs:
- uses: Swatinem/rust-cache@v2
- uses: ./.github/actions/setup

- name: Cancel Previous Workflow Runs
uses: styfle/cancel-workflow-action

- name: Checkout the source code
uses: actions/checkout@v3

Expand Down
13 changes: 13 additions & 0 deletions .github/workflows/cancel.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
name: Cancel
on:
workflow_run:
workflows: ["basic", "smoke"]
types:
- requested
jobs:
cancel:
runs-on: ubuntu-latest
steps:
- uses: styfle/cancel-workflow-action
with:
workflow_id: ${{ github.event.workflow.id }}
3 changes: 0 additions & 3 deletions .github/workflows/smoke.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,6 @@ jobs:
- uses: Swatinem/rust-cache@v2
- uses: ./.github/actions/setup

- name: Cancel Previous Workflow Runs
uses: styfle/cancel-workflow-action

- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v1

Expand Down

0 comments on commit a62cd10

Please sign in to comment.