Skip to content

OCIF Staking: Move stake between cores #467

OCIF Staking: Move stake between cores

OCIF Staking: Move stake between cores #467

Workflow file for this run

name: Checks
on:
push:
branches: [ main, development ]
pull_request:
branches: [ main, development ]
env:
CARGO_TERM_COLOR: always
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions-rs/toolchain@v1
with:
toolchain: nightly-2022-09-01
- name: Build
run: cargo build --verbose
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions-rs/toolchain@v1
with:
toolchain: nightly-2022-09-01
- name: Run tests
run: cargo test --verbose
clippy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions-rs/toolchain@v1
with:
toolchain: nightly-2022-09-01
components: clippy
- name: Run clippy
run: cargo clippy -- -D warnings
fmt:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions-rs/toolchain@v1
with:
toolchain: nightly-2022-09-01
components: rustfmt
- name: Run cargofmt
run: cargo fmt --all -- --check