diff --git a/.github/pull_request_template.md b/.github/pull_request_template.md index adf18fc..03758a0 100644 --- a/.github/pull_request_template.md +++ b/.github/pull_request_template.md @@ -16,3 +16,4 @@ Fixes #??? - [ ] Tests - [ ] Documentation +- [ ] Pallets, that require benchmarks, are added to `scripts/assets/pallets.txt` (Pallet require benchmark if it has WeightInfo config type) diff --git a/.github/workflows/evm.yml b/.github/workflows/evm.yml index aa7a71d..4c0240d 100644 --- a/.github/workflows/evm.yml +++ b/.github/workflows/evm.yml @@ -21,6 +21,12 @@ on: default: false type: boolean +# If new code is pushed to a PR branch, then cancel in progress workflows for +# that PR. Ensures that we don't waste CI time, and returns results quicker. +concurrency: + group: ci-${{ github.ref }} + cancel-in-progress: true + env: # Not needed in CI, should make things a bit faster CARGO_INCREMENTAL: 0 diff --git a/.github/workflows/generic.yml b/.github/workflows/generic.yml index 5d84d09..cfaed75 100644 --- a/.github/workflows/generic.yml +++ b/.github/workflows/generic.yml @@ -21,6 +21,12 @@ on: default: false type: boolean +# If new code is pushed to a PR branch, then cancel in progress workflows for +# that PR. Ensures that we don't waste CI time, and returns results quicker. +concurrency: + group: ci-${{ github.ref }} + cancel-in-progress: true + env: # Not needed in CI, should make things a bit faster CARGO_INCREMENTAL: 0 diff --git a/evm-template/Cargo.lock b/evm-template/Cargo.lock index 9ab8e38..33a4fa4 100644 --- a/evm-template/Cargo.lock +++ b/evm-template/Cargo.lock @@ -8041,6 +8041,7 @@ dependencies = [ "frame-support", "frame-system", "impl-trait-for-tuples", + "log", "pallet-balances", "parity-scale-codec", "scale-info", diff --git a/generic-template/Cargo.lock b/generic-template/Cargo.lock index 4287acb..2e8e706 100644 --- a/generic-template/Cargo.lock +++ b/generic-template/Cargo.lock @@ -7262,6 +7262,7 @@ dependencies = [ "frame-support", "frame-system", "impl-trait-for-tuples", + "log", "pallet-balances", "parity-scale-codec", "scale-info",