2020-07-14 14:26:02 +00:00
|
|
|
name: Rust
|
|
|
|
on:
|
2020-07-14 14:27:44 +00:00
|
|
|
push:
|
|
|
|
branches: [ master ]
|
|
|
|
pull_request:
|
|
|
|
branches: [ master ]
|
2020-07-14 14:26:02 +00:00
|
|
|
env:
|
|
|
|
CARGO_TERM_COLOR: always
|
|
|
|
jobs:
|
|
|
|
build:
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
|
|
- uses: actions/checkout@v2
|
|
|
|
- name: Build
|
|
|
|
run: cargo build --all
|
|
|
|
- name: Run tests
|
2020-07-15 02:43:07 +00:00
|
|
|
run: |
|
|
|
|
cargo test
|
|
|
|
(cd lib/jsonfeed && cargo test)
|