1
0
Fork 0
mirror of https://github.com/romanz/electrs.git synced 2025-02-24 15:02:21 +01:00
This commit is contained in:
Roman Zeyde 2020-11-06 16:36:01 +02:00
parent c88a0dc331
commit 7bcd20cd56
No known key found for this signature in database
GPG key ID: 87CAE5FA46917CBB

View file

@ -1,22 +1,37 @@
name: Rust
name: electrs CI
on: [push, pull_request]
jobs:
electrs:
name: electrs
runs-on: ubuntu-latest
steps:
- name: Install Rust
- name: Checkout sources
uses: actions/checkout@v2
- name: Install rust
uses: actions-rs/toolchain@v1
with:
toolchain: ${{ matrix.toolchain }}
toolchain: stable
components: rustfmt
profile: minimal
override: true
- uses: actions/checkout@v1
- name: Check
run: cargo check
- name: Format
uses: actions-rs/cargo@v1
with:
command: fmt
args: --all -- --check
- name: Build
run: cargo build
- name: Run tests
run: cargo test
uses: actions-rs/cargo@v1
with:
command: build
args: --release --all
- name: Test
uses: actions-rs/cargo@v1
with:
command: test
args: --release --all