mirror of
https://github.com/juanfont/headscale.git
synced 2026-08-07 15:58:45 +09:00
gen: generate v1 API server and client with ogen
go generate (gen/api/v1) runs ogen against openapi/v1/headscale.yaml; ogen added as a tool dependency. CI freshness check covers openapi/.
This commit is contained in:
@@ -30,6 +30,7 @@ jobs:
|
||||
- '**/*.go'
|
||||
- '**/*.proto'
|
||||
- 'buf.gen.yaml'
|
||||
- 'openapi/**'
|
||||
- 'tools/**'
|
||||
- uses: nixbuild/nix-quick-install-action@2c9db80fb984ceb1bcaa77cdda3fdf8cfba92035 # v34
|
||||
if: steps.changed-files.outputs.files == 'true'
|
||||
|
||||
Reference in New Issue
Block a user