Skip to content

Read slot from the last finalized block. #62

Read slot from the last finalized block.

Read slot from the last finalized block. #62

Workflow file for this run

name: Rust CI
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
env:
CARGO_TERM_COLOR: always
jobs:
ci:
runs-on: ubuntu-latest
continue-on-error: ${{ matrix.rust == 'nightly' }}
strategy:
fail-fast: false
matrix:
rust:
- stable
- beta
steps:
- uses: actions/checkout@v3
- uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: ${{ matrix.rust }}
override: true
components: rustfmt
- uses: actions-rs/cargo@v1
with:
command: build
args: --release --all-features -v
- uses: actions-rs/cargo@v1
with:
command: test
args: --all-features -v
- uses: actions-rs/cargo@v1
with:
command: fmt
args: --all -- --check
- name: Security audit
uses: actions-rs/audit-check@v1
with:
token: ${{ secrets.GITHUB_TOKEN }}