pastebin/.github/workflows/rust.yml

20 lines
401 B
YAML
Raw Normal View History

2020-05-10 15:57:28 +02:00
name: Test and Build
2020-05-10 15:38:55 +02:00
on: [push]
2020-05-10 15:17:36 +02:00
jobs:
2020-05-10 15:38:55 +02:00
test:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest]
rust: [nightly]
2020-05-10 15:17:36 +02:00
steps:
2020-05-10 15:38:55 +02:00
- uses: hecrj/setup-rust-action@v1
with:
rust-version: ${{ matrix.rust }}
- uses: actions/checkout@master
2020-05-10 15:17:36 +02:00
- name: Build
run: cargo build --verbose
- name: Run tests
run: cargo test --verbose