Skip to content

Bump the known_good_semver group with 4 updates (#107) #145

Bump the known_good_semver group with 4 updates (#107)

Bump the known_good_semver group with 4 updates (#107) #145

name: Integration test master
# This tests that Zepter wont panic on Polkadot-SDK, Substrate, Polkadot or Cumulus.
concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
cancel-in-progress: true
on:
push:
branches: [ "master" ]
pull_request:
branches: [ "master" ]
env:
CARGO_TERM_COLOR: always
jobs:
dotsama:
runs-on: self-hosted
name: "Check"
strategy:
matrix:
repo: [substrate, polkadot, cumulus, ]
steps:
- uses: actions/checkout@master
name: Clone ${{ matrix.repo }}
with:
repository: paritytech/${{ matrix.repo }}
fetch-depth: 1
- name: Cargo install
run: cargo install --git ${{ github.server_url }}/${{ github.repository }} zepter --rev $GITHUB_SHA --locked -q
# Substrate master should be green since its using Zepter in its CI.
- if: matrix.repo == 'substrate'
name: Zepter passes
run: |
echo "Checking features #1"
zepter lint propagate-feature --feature try-runtime --left-side-feature-missing=ignore --workspace --fix --feature-enables-dep="try-runtime:frame-try-runtime"
echo "Checking features #2"
zepter lint propagate-feature --feature runtime-benchmarks --left-side-feature-missing=ignore --workspace --feature-enables-dep="runtime-benchmarks:frame-benchmarking"
echo "Checking features #3"
zepter lint propagate-feature --feature std --left-side-feature-missing=ignore --workspace
echo "Checking formatting #1"
zepter format features --check --exit-code-zero
- if: matrix.repo != 'substrate' && matrix.repo != 'polkadot-sdk'
name: Zepter doesnt panic
# Polkadot and Cumulus can be red, but should not panic. Hence the `--exit-code-zero`.
run: |
echo "Checking features #1"
zepter lint propagate-feature --feature try-runtime --left-side-feature-missing=ignore --workspace --fix --feature-enables-dep="try-runtime:frame-try-runtime" --exit-code-zero
echo "Checking features #2"
zepter lint propagate-feature --feature runtime-benchmarks --left-side-feature-missing=ignore --workspace --feature-enables-dep="runtime-benchmarks:frame-benchmarking" --exit-code-zero
echo "Checking features #3"
zepter lint propagate-feature --feature std --left-side-feature-missing=ignore --workspace --exit-code-zero
echo "Checking formatting #1"
zepter format features --exit-code-zero