Skip to content

chore: remove contracts package #492

chore: remove contracts package

chore: remove contracts package #492

Workflow file for this run

name: Block Oracle Continuous Integration
on:
push:
branches: [main]
pull_request:
branches: [main]
env:
CARGO_TERM_COLOR: always
RUST_BACKTRACE: full
jobs:
check:
name: Check
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: Swatinem/rust-cache@v2
- uses: actions-rs/cargo@v1
env:
RUSTFLAGS: "-D warnings"
with:
command: check
args: --workspace --tests
test:
name: Tests
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: Swatinem/rust-cache@v2
- uses: actions-rs/cargo@v1
env:
RUSTFLAGS: "-D warnings"
with:
command: test
args: --workspace
fmt:
name: Rustfmt
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions-rs/cargo@v1
env:
RUSTFLAGS: "-D warnings"
with:
command: fmt
args: --all --check
clippy:
name: Clippy
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- run: rustup component add clippy
- uses: Swatinem/rust-cache@v2
- uses: actions-rs/cargo@v1
with:
command: clippy
args: --workspace -- -D warnings