1
0
mirror of https://github.com/actix/actix-website synced 2024-12-18 01:43:59 +01:00
actix-website/.github/workflows/examples.yml
2023-11-01 15:24:51 +00:00

27 lines
491 B
YAML

name: Examples
on:
pull_request:
types: [opened, synchronize, reopened]
merge_group:
types: [checks_requested]
push:
branches: [main]
jobs:
check-examples:
name: Check examples
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions-rust-lang/setup-rust-toolchain@v1.3.5
- name: Test examples
env:
RUSTFLAGS: -A dead-code -A unused-variables
run: |
cd examples
cargo test