mirror of
https://github.com/actix/actix-website
synced 2024-11-30 19:14:36 +01:00
25 lines
446 B
YAML
25 lines
446 B
YAML
name: Check examples
|
|
|
|
on:
|
|
pull_request:
|
|
types: [opened, synchronize, reopened]
|
|
push:
|
|
branches: [master]
|
|
|
|
jobs:
|
|
check-examples:
|
|
name: Check examples
|
|
runs-on: ubuntu-latest
|
|
|
|
env:
|
|
RUSTFLAGS: -A dead-code -A unused-variables
|
|
|
|
steps:
|
|
- uses: actions/checkout@v3
|
|
- uses: actions-rust-lang/setup-rust-toolchain@v1.3.5
|
|
|
|
- name: test examples
|
|
run: |
|
|
cd examples
|
|
cargo test
|