mirror of
https://github.com/romanz/electrs.git
synced 2026-08-18 13:08:10 +02:00
41 lines
811 B
YAML
41 lines
811 B
YAML
name: electrs CI
|
|
|
|
on: [push, pull_request]
|
|
|
|
jobs:
|
|
electrs:
|
|
name: electrs
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- name: Checkout
|
|
uses: actions/checkout@v2
|
|
|
|
- name: Install
|
|
uses: actions-rs/toolchain@v1
|
|
with:
|
|
components: rustfmt, clippy
|
|
profile: minimal
|
|
override: true
|
|
|
|
- name: Format
|
|
uses: actions-rs/cargo@v1
|
|
with:
|
|
command: fmt
|
|
args: --all -- --check
|
|
|
|
- name: Build
|
|
uses: actions-rs/cargo@v1
|
|
with:
|
|
command: build
|
|
args: --release --all
|
|
|
|
- name: Test
|
|
uses: actions-rs/cargo@v1
|
|
with:
|
|
command: test
|
|
args: --release --all
|
|
|
|
- name: Clippy
|
|
uses: actions-rs/cargo@v1
|
|
with:
|
|
command: clippy
|