difftreelog
change concurency scope
in: master
7 files changed
.github/workflows/build-test-master.ymldiffbeforeafterboth--- a/.github/workflows/build-test-master.yml
+++ b/.github/workflows/build-test-master.yml
@@ -19,6 +19,10 @@
env:
REPO_URL: ${{ github.server_url }}/${{ github.repository }}
+concurrency:
+ group: ${{ github.workflow }}-${{ github.ref }}
+ cancel-in-progress: true
+
# A workflow run is made up of one or more jobs that can run sequentially or in parallel
jobs:
@@ -26,10 +30,6 @@
# The type of runner that the job will run on
runs-on: [self-hosted-ci,large]
timeout-minutes: 1380
-
- concurrency:
- group: ${{ github.workflow }}-${{ github.ref }}
- cancel-in-progress: true
name: ${{ matrix.network }}
.github/workflows/codestyle.ymldiffbeforeafterboth1name: Code style23on:4 pull_request:5 branches:6 - develop7 types:8 - opened9 - reopened10 - synchronize11 - ready_for_review1213jobs:14 rustfmt:15 runs-on: self-hosted-ci16 17 concurrency: 18 group: ${{ github.workflow }}-${{ github.ref }}19 cancel-in-progress: true2021 steps:22 - name: Skip if pull request is in Draft23 # `if: github.event.pull_request.draft == true` should be kept here, at24 # the step level, rather than at the job level. The latter is not25 # recommended because when the PR is moved from "Draft" to "Ready to26 # review" the workflow will immediately be passing (since it was skipped),27 # even though it hasn't actually ran, since it takes a few seconds for28 # the workflow to start. This is also disclosed in:29 # https://github.community/t/dont-run-actions-on-draft-pull-requests/16817/1730 # That scenario would open an opportunity for the check to be bypassed:31 # 1. Get your PR approved32 # 2. Move it to Draft33 # 3. Push whatever commits you want34 # 4. Move it to "Ready for review"; now the workflow is passing (it was35 # skipped) and "Check reviews" is also passing (it won't be updated36 # until the workflow is finished)37 if: github.event.pull_request.draft == true38 run: exit 13940 - uses: actions/checkout@v141 - name: Install latest nightly42 uses: actions-rs/toolchain@v143 with:44 toolchain: nightly45 default: true46 target: wasm32-unknown-unknown47 components: rustfmt, clippy48 - name: Run cargo fmt49 run: cargo fmt -- --check5051 clippy:52 if: ${{ false }}53 runs-on: self-hosted-ci54 55 concurrency: 56 group: ${{ github.workflow }}-${{ github.ref }}57 cancel-in-progress: true5859 steps:60 - name: Skip if pull request is in Draft61 # `if: github.event.pull_request.draft == true` should be kept here, at62 # the step level, rather than at the job level. The latter is not63 # recommended because when the PR is moved from "Draft" to "Ready to64 # review" the workflow will immediately be passing (since it was skipped),65 # even though it hasn't actually ran, since it takes a few seconds for66 # the workflow to start. This is also disclosed in:67 # https://github.community/t/dont-run-actions-on-draft-pull-requests/16817/1768 # That scenario would open an opportunity for the check to be bypassed:69 # 1. Get your PR approved70 # 2. Move it to Draft71 # 3. Push whatever commits you want72 # 4. Move it to "Ready for review"; now the workflow is passing (it was73 # skipped) and "Check reviews" is also passing (it won't be updated74 # until the workflow is finished)75 if: github.event.pull_request.draft == true76 run: exit 177 78 - uses: actions/checkout@v379 - name: Install substrate dependencies80 run: sudo apt-get install libssl-dev pkg-config libclang-dev clang81 - name: Install latest nightly82 uses: actions-rs/toolchain@v183 with:84 toolchain: nightly85 default: true86 target: wasm32-unknown-unknown87 components: rustfmt, clippy88 - name: Run cargo check89 run: cargo clippy -- -Dwarnings1name: Code style23on:4 pull_request:5 branches:6 - develop7 types:8 - opened9 - reopened10 - synchronize11 - ready_for_review1213concurrency: 14 group: ${{ github.workflow }}-${{ github.ref }}15 cancel-in-progress: true1617jobs:18 rustfmt:19 runs-on: self-hosted-ci2021 steps:22 - name: Skip if pull request is in Draft23 # `if: github.event.pull_request.draft == true` should be kept here, at24 # the step level, rather than at the job level. The latter is not25 # recommended because when the PR is moved from "Draft" to "Ready to26 # review" the workflow will immediately be passing (since it was skipped),27 # even though it hasn't actually ran, since it takes a few seconds for28 # the workflow to start. This is also disclosed in:29 # https://github.community/t/dont-run-actions-on-draft-pull-requests/16817/1730 # That scenario would open an opportunity for the check to be bypassed:31 # 1. Get your PR approved32 # 2. Move it to Draft33 # 3. Push whatever commits you want34 # 4. Move it to "Ready for review"; now the workflow is passing (it was35 # skipped) and "Check reviews" is also passing (it won't be updated36 # until the workflow is finished)37 if: github.event.pull_request.draft == true38 run: exit 13940 - uses: actions/checkout@v141 - name: Install latest nightly42 uses: actions-rs/toolchain@v143 with:44 toolchain: nightly45 default: true46 target: wasm32-unknown-unknown47 components: rustfmt, clippy48 - name: Run cargo fmt49 run: cargo fmt -- --check5051 clippy:52 if: ${{ false }}53 runs-on: self-hosted-ci54 55 steps:56 - name: Skip if pull request is in Draft57 # `if: github.event.pull_request.draft == true` should be kept here, at58 # the step level, rather than at the job level. The latter is not59 # recommended because when the PR is moved from "Draft" to "Ready to60 # review" the workflow will immediately be passing (since it was skipped),61 # even though it hasn't actually ran, since it takes a few seconds for62 # the workflow to start. This is also disclosed in:63 # https://github.community/t/dont-run-actions-on-draft-pull-requests/16817/1764 # That scenario would open an opportunity for the check to be bypassed:65 # 1. Get your PR approved66 # 2. Move it to Draft67 # 3. Push whatever commits you want68 # 4. Move it to "Ready for review"; now the workflow is passing (it was69 # skipped) and "Check reviews" is also passing (it won't be updated70 # until the workflow is finished)71 if: github.event.pull_request.draft == true72 run: exit 173 74 - uses: actions/checkout@v375 - name: Install substrate dependencies76 run: sudo apt-get install libssl-dev pkg-config libclang-dev clang77 - name: Install latest nightly78 uses: actions-rs/toolchain@v179 with:80 toolchain: nightly81 default: true82 target: wasm32-unknown-unknown83 components: rustfmt, clippy84 - name: Run cargo check85 run: cargo clippy -- -Dwarnings.github/workflows/fork-update-withdata.ymldiffbeforeafterboth--- a/.github/workflows/fork-update-withdata.yml
+++ b/.github/workflows/fork-update-withdata.yml
@@ -19,6 +19,10 @@
env:
REPO_URL: ${{ github.server_url }}/${{ github.repository }}
+concurrency:
+ group: ${{ github.workflow }}-${{ github.ref }}
+ cancel-in-progress: true
+
# A workflow run is made up of one or more jobs that can run sequentially or in parallel
jobs:
@@ -26,10 +30,6 @@
# The type of runner that the job will run on
runs-on: [self-hosted-ci,large]
timeout-minutes: 1380
-
- concurrency:
- group: ${{ github.workflow }}-${{ github.ref }}
- cancel-in-progress: true
name: ${{ matrix.network }}
.github/workflows/forkless-update-nodata.ymldiffbeforeafterboth--- a/.github/workflows/forkless-update-nodata.yml
+++ b/.github/workflows/forkless-update-nodata.yml
@@ -19,6 +19,10 @@
env:
REPO_URL: ${{ github.server_url }}/${{ github.repository }}
+concurrency:
+ group: ${{ github.workflow }}-${{ github.ref }}
+ cancel-in-progress: true
+
# A workflow run is made up of one or more jobs that can run sequentially or in parallel
jobs:
@@ -29,10 +33,6 @@
runs-on: self-hosted-ci
outputs:
matrix: ${{ steps.create_matrix.outputs.matrix }}
-
- concurrency:
- group: ${{ github.workflow }}-${{ github.ref }}
- cancel-in-progress: true
steps:
@@ -63,9 +63,7 @@
# The type of runner that the job will run on
runs-on: [self-hosted-ci,medium]
- concurrency:
- group: ${{ github.workflow }}-${{ github.ref }}
- cancel-in-progress: true
+
timeout-minutes: 1380
.github/workflows/node_build_test.ymldiffbeforeafterboth--- a/.github/workflows/node_build_test.yml
+++ b/.github/workflows/node_build_test.yml
@@ -19,16 +19,16 @@
env:
REPO_URL: ${{ github.server_url }}/${{ github.repository }}
+concurrency:
+ group: ${{ github.workflow }}-${{ github.ref }}
+ cancel-in-progress: true
+
# A workflow run is made up of one or more jobs that can run sequentially or in parallel
jobs:
dev_build_test:
# The type of runner that the job will run on
runs-on: [self-hosted-ci,medium]
timeout-minutes: 1380
-
- concurrency:
- group: ${{ github.workflow }}-${{ github.ref }}
- cancel-in-progress: true
name: ${{ matrix.network }}
.github/workflows/tests_codestyle.ymldiffbeforeafterboth--- a/.github/workflows/tests_codestyle.yml
+++ b/.github/workflows/tests_codestyle.yml
@@ -10,13 +10,13 @@
- synchronize
- ready_for_review
+concurrency:
+ group: ${{ github.workflow }}-${{ github.ref }}
+ cancel-in-progress: true
+
jobs:
code_style:
runs-on: self-hosted-ci
-
- concurrency:
- group: ${{ github.workflow }}-${{ github.ref }}
- cancel-in-progress: true
steps:
- name: Skip if pull request is in Draft
.github/workflows/try-runtime.ymldiffbeforeafterboth--- a/.github/workflows/try-runtime.yml
+++ b/.github/workflows/try-runtime.yml
@@ -19,17 +19,17 @@
env:
REPO_URL: ${{ github.server_url }}/${{ github.repository }}
+concurrency:
+ group: ${{ github.workflow }}-${{ github.ref }}
+ cancel-in-progress: true
+
# A workflow run is made up of one or more jobs that can run sequentially or in parallel
jobs:
try-runtime:
# The type of runner that the job will run on
runs-on: self-hosted-ci
-
- concurrency:
- group: ${{ github.workflow }}-${{ github.ref }}
- cancel-in-progress: true
-
- name: ${{ matrix.network }} - Try-runtime
+
+ name: ${{ matrix.network }}
continue-on-error: true #Do not stop testing of matrix runs failed. As it decided during PR review - it required 50/50& Let's check it with false.