1
0
mirror of https://github.com/actix/actix-website synced 2024-11-25 01:02:58 +01:00
actix-website/.github/workflows/examples.yml

27 lines
491 B
YAML
Raw Normal View History

2023-11-01 16:24:51 +01:00
name: Examples
2020-07-18 08:12:51 +02:00
on:
pull_request:
types: [opened, synchronize, reopened]
2023-11-01 16:24:51 +01:00
merge_group:
types: [checks_requested]
2020-07-18 08:12:51 +02:00
push:
2023-11-01 16:21:29 +01:00
branches: [main]
2020-07-18 08:12:51 +02:00
jobs:
check-examples:
name: Check examples
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
2023-11-01 16:21:29 +01:00
2023-02-03 19:55:15 +01:00
- uses: actions-rust-lang/setup-rust-toolchain@v1.3.5
2023-02-03 20:00:55 +01:00
2023-11-01 16:21:29 +01:00
- name: Test examples
env:
RUSTFLAGS: -A dead-code -A unused-variables
2023-02-03 20:00:55 +01:00
run: |
2023-02-03 19:59:14 +01:00
cd examples
cargo test