Skip to content

Commit 8d696f0

Browse files
committed
initial import of the hono admin tool
1 parent ffd938f commit 8d696f0

File tree

10 files changed

+608
-373
lines changed

10 files changed

+608
-373
lines changed

.github/workflows/hat.yaml

+45
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,45 @@
1+
name: Hono Admin Tool
2+
3+
on:
4+
push:
5+
branches: ["master"]
6+
pull_request:
7+
branches: ["master"]
8+
9+
env:
10+
CARGO_TERM_COLOR: always
11+
12+
jobs:
13+
14+
build:
15+
16+
runs-on: ${{ matrix.os }}
17+
18+
strategy:
19+
matrix:
20+
os: [ubuntu-latest, windows-latest, macos-latest]
21+
22+
steps:
23+
24+
- uses: actions/checkout@v2
25+
26+
- uses: actions/cache@v2
27+
with:
28+
path: |
29+
~/.cargo/registry
30+
~/.cargo/git
31+
target
32+
key: ${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.lock') }}
33+
34+
- name: Build
35+
run: cargo build --release --verbose
36+
37+
- name: Run tests
38+
run: cargo test --release --verbose
39+
40+
- uses: actions/upload-artifact@v2
41+
with:
42+
name: hat-${{ matrix.os }}
43+
path: |
44+
target/release/hat
45+
target/release/hat.exe

0 commit comments

Comments
 (0)