|
1 | | -name: Package |
| 1 | +name: 📦 Package |
2 | 2 |
|
3 | 3 | on: |
4 | 4 | pull_request: |
|
9 | 9 | CARGO_TERM_COLOR: always |
10 | 10 |
|
11 | 11 | jobs: |
12 | | - # license: |
13 | | - # name: 🏫License check |
14 | | - # runs-on: ubuntu-latest |
15 | | - # steps: |
16 | | - # - uses: actions/checkout@v2 |
17 | | - # - name: 🏫Check license |
18 | | - # run: | |
19 | | - # cargo install cargo-deny |
20 | | - # cargo deny check |
21 | | - |
22 | | - package: |
23 | | - name: 🔨Package |
| 12 | + license: |
| 13 | + name: 🏫License check |
24 | 14 | runs-on: ubuntu-latest |
25 | 15 | steps: |
26 | 16 | - uses: actions/checkout@v2 |
27 | | - - name: 🔨Check package build |
28 | | - run: cargo package --verbose |
| 17 | + - name: 🏫Check license |
| 18 | + run: | |
| 19 | + cargo install cargo-deny |
| 20 | + cargo deny check |
29 | 21 |
|
30 | 22 | cargo_check: |
31 | | - name: 📦Check package integrity |
| 23 | + name: 📦 Check package integrity |
32 | 24 | runs-on: ubuntu-latest |
33 | 25 | steps: |
34 | 26 | - uses: actions/checkout@v2 |
35 | | - - name: 📦Check package integrity |
36 | | - run: cargo check --verbose |
| 27 | + - name: Check package integrity |
| 28 | + run: cargo package --verbose |
37 | 29 |
|
38 | 30 | publish_dry_run: |
39 | | - name: 📢Publish dry-run |
| 31 | + name: 📢 Publish dry-run |
40 | 32 | runs-on: ubuntu-latest |
41 | 33 | steps: |
42 | 34 | - uses: actions/checkout@v2 |
43 | | - - name: 📢Publish dry run |
| 35 | + - name: Publish dry run |
44 | 36 | run: cargo publish --dry-run --verbose |
45 | | - |
46 | | - # dummy_publish: |
47 | | - # name: 📦⬆️📢Publish dummy |
48 | | - # # needs: [license, package, cargo_check, publish_dry_run] |
49 | | - # needs: [package, cargo_check, publish_dry_run] |
50 | | - # runs-on: ubuntu-latest |
51 | | - # steps: |
52 | | - # - uses: actions/checkout@v2 |
53 | | - # - name: 📦⬆️📢Publish dry run |
54 | | - # run: cargo publish --dry-run --verbose |
0 commit comments