You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
That takes > 1 minute on the github ubuntu-latest (currently Ubuntu 22.04.1 LTS) image.
The actual validation of our openapi spec takes just under a second.
Current Behavior
The action is setup as a docker container action that builds the action every time it is executed.
Expected Behavior
The action is setup as a javascript action, with the /dist directory checked in and part of the release, so that there is no build step on action run.
All dependencies are pure typescript/javascript that can be precompiled and run on the github actions node.js version - there are no runtime dependencies that require executing in a docker container.
From a glance at the dependencies in the package.json, this seems to be true.
The text was updated successfully, but these errors were encountered:
Context
Every time the actions runs there's a docker build step:
That takes > 1 minute on the github ubuntu-latest (currently Ubuntu 22.04.1 LTS) image.
The actual validation of our openapi spec takes just under a second.
Current Behavior
The action is setup as a docker container action that builds the action every time it is executed.
Expected Behavior
The action is setup as a javascript action, with the
/dist
directory checked in and part of the release, so that there is no build step on action run.Runtime is only spent on the actual validation.
As in the typescript action sample implementation a check-dist.yml workflow verifies that the checked in
/dist
matches expected buildAssumptions
The text was updated successfully, but these errors were encountered: