Skip to content

Merge pull request #88 from orochi-network/security/prevent_keypair_t… #257

Merge pull request #88 from orochi-network/security/prevent_keypair_t…

Merge pull request #88 from orochi-network/security/prevent_keypair_t… #257

Workflow file for this run

name: CI checks
on:
merge_group:
pull_request:
push:
branches:
- main
jobs:
build:
name: Build
timeout-minutes: 30
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions-rs/toolchain@v1
with:
override: false
- name: cargo build
uses: actions-rs/cargo@v1
with:
command: build
test:
name: Test
timeout-minutes: 30
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions-rs/toolchain@v1
with:
override: false
- name: cargo test
uses: actions-rs/cargo@v1
with:
command: test
args: --verbose
fmt:
name: Rustfmt
timeout-minutes: 30
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions-rs/toolchain@v1
with:
override: false
- run: rustup component add rustfmt
- uses: actions-rs/cargo@v1
with:
command: fmt
args: --all -- --check