Skip to content

Downstream Integration #535

Downstream Integration

Downstream Integration #535

# Prevents accidential breackage for known downstream projects.
name: Downstream Integration
concurrency:
group: ${{ github.workflow }}
cancel-in-progress: true
on:
push:
branches: [ "master" ]
pull_request:
branches: [ "master" ]
schedule:
- cron: "0 0 * * *"
env:
CARGO_TERM_COLOR: always
jobs:
dotsama:
runs-on: self-hosted
name: "Check"
strategy:
matrix:
repo: ["paritytech/polkadot-sdk", "open-web3-stack/open-runtime-module-library"]
version: [0.13.3, 1.4.0, "*"]
steps:
- uses: actions/checkout@master
name: Clone repo
with:
repository: ${{ matrix.repo }}
fetch-depth: 1
- name: Install
run: cargo install zepter --version '${{ matrix.version }}' -f --locked -q --no-default-features
- if: matrix.repo == 'open-web3-stack/open-runtime-module-library' && matrix.version == '*'
name: Copy cargo toml
run: |
cp Cargo.dev.toml Cargo.toml
cargo generate-lockfile
- if: matrix.repo != 'open-web3-stack/open-runtime-module-library' || (matrix.repo == 'open-web3-stack/open-runtime-module-library' && matrix.version == '*')
name: Zepter Passes on ${{ matrix.repo }}
run: |
zepter run check
zepter
git diff --exit-code