ci: setup swagger build

This commit is contained in:
Derrick Hammer 2023-06-28 01:38:18 -04:00
parent 914313a585
commit 976394b29d
Signed by: pcfreak30
GPG Key ID: C997C339BE476FF2
1 changed files with 8 additions and 1 deletions

View File

@ -24,7 +24,14 @@ jobs:
node-version: 18.x
cache: 'npm'
- run: npm ci
- run: go build .
- name: Setup Swagger
run: |
go install github.com/swaggo/swag/cmd/swag@latest;
swag init -g main.go;
swag fmt;
- name: Build
run: go build .
- name: Install SSH key
uses: shimataro/ssh-key-action@v2
with: