Skip to content

Bump sp-keyring from 7d3ce4d to ede4a36 #182

Bump sp-keyring from 7d3ce4d to ede4a36

Bump sp-keyring from 7d3ce4d to ede4a36 #182

Workflow file for this run

on:
pull_request:
push:
branches:
- main
name: Continuous integration
jobs:
check:
name: Check
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: stable
override: true
- name: Rust Cache
uses: Swatinem/rust-cache@2656b87321093db1cb55fbd73183d195214fdfd1 # v2.5.0
- uses: actions-rs/cargo@v1
with:
command: check
args: --workspace --all-targets
test:
name: Test
runs-on: ${{ matrix.os }}
strategy:
matrix:
os:
- ubuntu-latest
- macOS-latest
steps:
- uses: actions/checkout@v3
- uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: stable
override: true
- name: Rust Cache
uses: Swatinem/rust-cache@2656b87321093db1cb55fbd73183d195214fdfd1 # v2.5.0
- run: rustup target add wasm32-unknown-unknown
- name: Test no-default-features
uses: actions-rs/cargo@v1
with:
command: test
args: --workspace --no-default-features
- name: Test default features
uses: actions-rs/cargo@v1
with:
command: test
args: --workspace
- name: Test xcm-builder
uses: actions-rs/cargo@v1
with:
command: test
args: -p xcm-builder --all-features
- name: Test xcm-executor
uses: actions-rs/cargo@v1
with:
command: test
args: -p xcm-executor --all-features
- name: Test xcm-simulator-example
uses: actions-rs/cargo@v1
with:
command: test
args: -p xcm-simulator-example --all-features
fmt:
name: Rustfmt
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: nightly
override: true
- run: rustup component add rustfmt
- uses: actions-rs/cargo@v1
with:
command: fmt
args: --all -- --check
check-publish:
name: publish dry run
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: stable
override: true
- uses: actions-rs/cargo@v1
with:
command: publish
args: --dry-run