Skip to content
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