Skip to content

Commit

Permalink
update deps (#9)
Browse files Browse the repository at this point in the history
* ci: basic build github action

* chore: update zerotier-one api spec

* chore: update zerotier-central api spec
  • Loading branch information
laduke authored Nov 7, 2024
1 parent 8407b45 commit 26205d8
Show file tree
Hide file tree
Showing 11 changed files with 2,619 additions and 2,219 deletions.
11 changes: 11 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
name: test suite
on: [push, pull_request]

jobs:
test:
name: make
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@stable
- run: make
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
central:
bash generate.sh central zerotier-central-api
curl -sSL https://docs.zerotier.com/openapi/centralv1.json > zerotier-central-api/openapi.json
cd zerotier-central-api && cargo build && cargo clean

service:
bash generate.sh service zerotier-one-api
curl -sSL https://github.com/zerotier/zerotier-one-api-spec/releases/latest/download/openapi.yaml > zerotier-one-api/openapi.yaml
cd zerotier-one-api && cargo build && cargo clean

.PHONY: central service
15 changes: 0 additions & 15 deletions generate.sh

This file was deleted.

Loading

0 comments on commit 26205d8

Please sign in to comment.