Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
R
rekor
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
SafSec
rekor
Commits
2a3059da
Unverified
Commit
2a3059da
authored
4 years ago
by
dlorenc
Committed by
GitHub
4 years ago
Browse files
Options
Downloads
Plain Diff
Merge pull request #62 from dlorenc/ci
Validate the swagger schema as part of CI.
parents
cf192c07
fb370f4f
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
.github/workflows/main.yml
+5
-2
5 additions, 2 deletions
.github/workflows/main.yml
with
5 additions
and
2 deletions
.github/workflows/main.yml
+
5
−
2
View file @
2a3059da
...
...
@@ -6,9 +6,9 @@ name: CI
# events but only for the main branch
on
:
push
:
branches
:
[
main
]
branches
:
[
main
,
openapi
]
pull_request
:
branches
:
[
main
]
branches
:
[
main
,
openapi
]
# A workflow run is made up of one or more jobs that can run sequentially or in parallel
jobs
:
...
...
@@ -36,3 +36,6 @@ jobs:
GOROOT
:
"
"
with
:
args
:
./...
-
name
:
Swagger
uses
:
docker://quay.io/goswagger/swagger
run
:
swagger validate openapi.yaml
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment