pastebin/.github/workflows/rust.yml
Mateusz Kaczanowski 58dc04b634
Update rust.yml
2020-05-10 15:57:28 +02:00

19 lines
401 B
YAML

name: Test and Build
on: [push]
jobs:
test:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest]
rust: [nightly]
steps:
- uses: hecrj/setup-rust-action@v1
with:
rust-version: ${{ matrix.rust }}
- uses: actions/checkout@master
- name: Build
run: cargo build --verbose
- name: Run tests
run: cargo test --verbose