1
0
mirror of https://github.com/actix/actix-website synced 2024-11-24 08:43:01 +01:00
actix-website/.github/workflows/examples.yml
dependabot[bot] 8c33e4bf35
Bump actions-rust-lang/setup-rust-toolchain from 1.6.0 to 1.8.0 (#356)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-01-15 04:27:15 +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@v4
- uses: actions-rust-lang/setup-rust-toolchain@v1.8.0
- name: Test examples
env:
RUSTFLAGS: -A dead-code -A unused-variables
run: |
cd examples
cargo test