mirror of
https://github.com/actix/actix-website
synced 2024-11-24 16:52:59 +01:00
615bbe44f6
Bumps [actions-rust-lang/setup-rust-toolchain](https://github.com/actions-rust-lang/setup-rust-toolchain) from 1.5.0 to 1.6.0. - [Release notes](https://github.com/actions-rust-lang/setup-rust-toolchain/releases) - [Changelog](https://github.com/actions-rust-lang/setup-rust-toolchain/blob/main/CHANGELOG.md) - [Commits](https://github.com/actions-rust-lang/setup-rust-toolchain/compare/v1.5.0...v1.6.0) --- updated-dependencies: - dependency-name: actions-rust-lang/setup-rust-toolchain dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
27 lines
491 B
YAML
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.6.0
|
|
|
|
- name: Test examples
|
|
env:
|
|
RUSTFLAGS: -A dead-code -A unused-variables
|
|
run: |
|
|
cd examples
|
|
cargo test
|