name: Validate
on:
push:
branches:
- "**"
tags-ignore:
- "v*"
jobs:
build_test:
name: Validate
runs-on: ubuntu-latest
steps:
- name: Check out code
uses: actions/checkout@v2
- name: Install latest stable
uses: actions-rs/toolchain@v1
with:
toolchain: stable
override: true
- name: Build
run: |
cargo build --all-features
- name: Lint
run: |
cargo clippy --all-features
- name: Test
run: |
cargo test --all-features