-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2 changed files
with
22 additions
and
25 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -14,10 +14,17 @@ on: | |
|
||
# A workflow run is made up of one or more jobs that can run sequentially or in parallel | ||
jobs: | ||
cancel-previous-runs: | ||
name: Cancel Previous Workflow Runs | ||
runs-on: ubuntu-latest | ||
fmt: | ||
runs-on: ubuntu-22.04 | ||
|
||
steps: | ||
- uses: actions/checkout@v4 | ||
- uses: Swatinem/rust-cache@v2 | ||
- uses: ./.github/actions/setup | ||
|
||
- name: Cancel Previous Workflow Runs | ||
uses: styfle/cancel-workflow-action | ||
|
||
- name: Checkout code | ||
uses: actions/checkout@v4 | ||
|
||
|
@@ -26,15 +33,6 @@ jobs: | |
with: | ||
access_token: ${{ github.token }} | ||
workflow_id: ${{ github.workflow }} | ||
|
||
fmt: | ||
runs-on: ubuntu-22.04 | ||
|
||
steps: | ||
- uses: actions/checkout@v4 | ||
- uses: Swatinem/rust-cache@v2 | ||
- uses: ./.github/actions/setup | ||
|
||
- name: Setup SSH | ||
uses: webfactory/[email protected] | ||
with: | ||
|
@@ -54,6 +52,9 @@ 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/[email protected] | ||
with: | ||
|
@@ -74,6 +75,9 @@ 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 | ||
|
@@ -90,6 +94,9 @@ 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 | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -13,19 +13,6 @@ on: | |
workflow_dispatch: | ||
|
||
jobs: | ||
cancel-previous-runs: | ||
name: Cancel Previous Workflow Runs | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout code | ||
uses: actions/checkout@v4 | ||
|
||
- name: Cancel Previous Runs | ||
uses: styfle/[email protected] | ||
with: | ||
access_token: ${{ github.token }} | ||
workflow_id: ${{ github.workflow }} | ||
|
||
block-production: | ||
runs-on: ubuntu-latest | ||
|
||
|
@@ -34,6 +21,9 @@ 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 | ||
|
||
|