1
0
mirror of https://github.com/actix/actix-website synced 2024-11-24 00:41:07 +01:00
actix-website/.github/workflows/rust.yml

34 lines
566 B
YAML
Raw Normal View History

2020-07-18 08:12:51 +02:00
name: Check examples
on:
pull_request:
types: [opened, synchronize, reopened]
push:
branches:
- master
env:
RUSTFLAGS: -A dead-code -A unused-variables
jobs:
check-examples:
strategy:
fail-fast: false
name: Check examples
runs-on: ubuntu-latest
steps:
2020-12-21 19:18:10 +01:00
- uses: actions/checkout@v2
2020-07-18 08:12:51 +02:00
- name: Use stable
run: |
rustup override set stable
rustup update stable
- name: cargo check and cargo test
run: |
cd examples
cargo check
cargo test