1
0
mirror of https://github.com/actix/actix-website synced 2024-11-27 18:12:57 +01:00
actix-website/.github/workflows/rust.yml
2023-02-03 14:00:55 -05:00

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