chirpstack/.github/workflows/main.yml

36 lines
604 B
YAML
Raw Normal View History

2022-04-06 20:18:32 +00:00
name: CI
on:
push:
branches:
- '*'
tags:
- 'v*'
pull_request:
jobs:
tests:
runs-on: ubuntu-latest
steps:
-
name: Checkout
uses: actions/checkout@v2
-
name: Cargo cache
uses: actions/cache@v3
with:
path: |
.cargo/registry/index/
.cargo/registry/cache/
.cargo/git/db/
target/
key: ${{ runner.os }}-cargo-${{ hashFiles('Cargo.lock') }}
-
name: Build UI
run: make build-ui
-
name: Run tests
run: make test