git.delta.rocks / unique-network / refs/commits / b7c6b4899c01

difftreelog

tests: change job name to lowercase

Alexander Aksenov2022-08-18parent: #78be8ae.patch.diff
in: master

4 files changed

modified.github/workflows/codestyle.ymldiffbeforeafterboth
before · .github/workflows/codestyle.yml
1name: 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
after · .github/workflows/codestyle.yml
1name: cargo fmt23on: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
modified.github/workflows/fork-update-withdata.ymldiffbeforeafterboth
--- a/.github/workflows/fork-update-withdata.yml
+++ b/.github/workflows/fork-update-withdata.yml
@@ -1,4 +1,4 @@
-name: Upgrade replica
+name: upgrade replica
 
 # Controls when the action will run.
 on:
@@ -38,15 +38,15 @@
     strategy:
       matrix:
         include:
-          - network: Opal
+          - network: opal
             features: opal-runtime
             runtime: opal
             fork_from_address: wss://eu-ws-opal.unique.network:443
-          - network: Quartz
+          - network: quartz
             features: quartz-runtime
             runtime: quartz
             fork_from_address: wss://eu-ws-quartz.unique.network:443
-          - network: Unique
+          - network: unique
             features: unique-runtime
             runtime: unique
             fork_from_address: wss://eu-ws.unique.network:443
modified.github/workflows/forkless-update-nodata.ymldiffbeforeafterboth
--- a/.github/workflows/forkless-update-nodata.yml
+++ b/.github/workflows/forkless-update-nodata.yml
@@ -1,4 +1,4 @@
-name: Upgrade nodata
+name: upgrade nodata
 
 # Controls when the action will run.
 on:
@@ -52,9 +52,9 @@
         id: create_matrix
         with:
           matrix: |
-            network {Opal}, runtime {opal}, features {opal-runtime}, mainnet_branch {${{ env.QUARTZ_MAINNET_TAG }}}
-            network {Quartz}, runtime {quartz}, features {quartz-runtime}, mainnet_branch {${{ env.QUARTZ_MAINNET_TAG }}}
-            network {Unique}, runtime {unique}, features {unique-runtime}, mainnet_branch {${{ env.UNIQUE_MAINNET_TAG }}}
+            network {opal}, runtime {opal}, features {opal-runtime}, mainnet_branch {${{ env.QUARTZ_MAINNET_TAG }}}
+            network {quartz}, runtime {quartz}, features {quartz-runtime}, mainnet_branch {${{ env.QUARTZ_MAINNET_TAG }}}
+            network {unique}, runtime {unique}, features {unique-runtime}, mainnet_branch {${{ env.UNIQUE_MAINNET_TAG }}}
 
 
 
modified.github/workflows/tests_codestyle.ymldiffbeforeafterboth
--- a/.github/workflows/tests_codestyle.yml
+++ b/.github/workflows/tests_codestyle.yml
@@ -1,4 +1,4 @@
-name: Tests code style
+name: yarn eslint
 
 on:
   pull_request: