-
Notifications
You must be signed in to change notification settings - Fork 69
56 lines (52 loc) · 1.85 KB
/
test.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
name: Test All Patterns
on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Use Rust 1.53
run: rustup install 1.53
- name: Run Rustfmt
run: cargo fmt -- --check
- name: Run Clippy
run: cargo clippy -- -D clippy::all
- run: cargo run --bin chain-of-responsibility
- run: cargo build --bin command # TUI. It can run on the local machine.
- run: cargo run --bin iterator
- run: cargo run --bin mediator-top-down
- run: cargo run --bin mediator-rc-refcell
- run: cargo run --bin memento
- run: cargo run --bin memento-serde
- run: cargo run --bin observer
- run: cargo build --bin state # TUI. It can run on the local machine.
- run: cargo run --bin strategy
- run: cargo run --bin strategy-func
- run: cargo run --bin template-method
- run: cargo run --bin visitor
- run: cargo run --bin abstract-factory
- run: cargo run --bin abstract-factory-dyn
- run: cargo run --bin builder
- run: cargo run --bin factory-method-maze-game
- run: cargo run --bin factory-method-render-dialog
- run: cargo run --bin prototype
- run: cargo run --bin simple-factory
- run: cargo run --bin singleton-local
- run: cargo run --bin singleton-lazy
# - run: cargo run --bin singleton-mutex # Requires Rust 1.63
- run: cargo run --bin singleton-once
- run: cargo run --bin singleton-logger
- run: cargo run --bin static-creation-method
- run: cargo run --bin adapter
- run: cargo run --bin bridge
- run: cargo run --bin composite
- run: cargo run --bin decorator
- run: cargo run --bin facade
- run: cargo run --bin flyweight
- run: cargo run --bin proxy