mirror of
https://github.com/soywod/himalaya.git
synced 2024-09-05 02:21:17 +00:00
27 lines
492 B
YAML
27 lines
492 B
YAML
name: tests
|
|
|
|
on:
|
|
pull_request:
|
|
push:
|
|
branches:
|
|
- master
|
|
|
|
jobs:
|
|
tests:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- name: Checkout code
|
|
uses: actions/checkout@v2
|
|
- name: Install rust
|
|
uses: actions-rs/toolchain@v1
|
|
with:
|
|
toolchain: stable
|
|
- name: Check project
|
|
uses: actions-rs/cargo@v1
|
|
with:
|
|
command: check
|
|
- name: Run tests
|
|
uses: actions-rs/cargo@v1
|
|
with:
|
|
command: test
|