Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

initial import of "hat" #1

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
49 changes: 49 additions & 0 deletions .github/workflows/hat.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,49 @@
name: Hono Admin Tool

on:
push:
branches: ["master"]
paths:
- 'hat/**'
pull_request:
branches: ["master"]
paths:
- 'hat/**'

env:
CARGO_TERM_COLOR: always

jobs:

build:

runs-on: ${{ matrix.os }}

strategy:
matrix:
os: [ubuntu-latest, windows-latest, macos-latest]

steps:

- uses: actions/checkout@v2

- uses: actions/cache@v2
with:
path: |
~/.cargo/registry
~/.cargo/git
target
key: ${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.lock') }}

- name: Build
run: cargo build --release --verbose

- name: Run tests
run: cargo test --release --verbose

- uses: actions/upload-artifact@v2
with:
name: hat-${{ matrix.os }}
path: |
target/release/hat
target/release/hat.exe
14 changes: 14 additions & 0 deletions hat/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
# Rust

target/

# Eclipse

.project
.settings/

# IntelliJ

*.iml
.idea/*

Loading