piratewallet-light-cli/.github/workflows/rust.yml

34 lines
736 B
YAML
Raw Permalink Normal View History

2019-10-22 19:56:36 +00:00
name: Rust
on: [push, pull_request]
jobs:
build:
name: Build on ${{ matrix.os }}
runs-on: ${{ matrix.os }}
strategy:
matrix:
2020-02-27 05:09:05 +00:00
os: [ubuntu-16.04]
2019-10-22 19:56:36 +00:00
steps:
- uses: actions/checkout@v1
- uses: actions-rs/toolchain@v1
with:
2020-02-05 06:04:29 +00:00
toolchain: 1.41.0
2019-10-22 19:56:36 +00:00
override: true
2020-04-04 15:48:31 +00:00
components: rustfmt, clippy
2019-10-22 19:56:36 +00:00
- name: cargo fetch
uses: actions-rs/cargo@v1
with:
command: fetch
- name: Build
uses: actions-rs/cargo@v1
with:
command: build
2019-10-22 21:18:31 +00:00
args: --verbose --release --all
2019-10-22 20:21:18 +00:00
- name: Run tests
uses: actions-rs/cargo@v1
with:
command: test
args: --verbose --release --all