Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: updated dependencies for examples #3057

Merged
merged 1 commit into from
Jan 27, 2024

Conversation

fredbi
Copy link
Contributor

@fredbi fredbi commented Jan 7, 2024

  • updated dependencies for oauth2 examples: oidc and jwt new versions
    came with breaking changes
  • ci: added build check for examples

NOTE: initially, I wanted to reduce the set of main dependencies by making the "examples" folder
it own module. Eventually, this did not change much (apart oidc and jwt)
and was adding more maintainance burden. Given up on that.

Signed-off-by: Frederic BIDON fredbi@yahoo.com

Copy link

codecov bot commented Jan 7, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (c4837e5) 82.65% compared to head (c1a3b10) 82.64%.

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #3057      +/-   ##
==========================================
- Coverage   82.65%   82.64%   -0.01%     
==========================================
  Files          62       62              
  Lines       12856    12856              
==========================================
- Hits        10626    10625       -1     
- Misses       1691     1692       +1     
  Partials      539      539              
Flag Coverage Δ
codegen-oldstable-canary-fixtures 32.54% <ø> (ø)
codegen-stable-canary-fixtures 32.54% <ø> (ø)
unit-oldstable 82.79% <ø> (ø)
unit-stable 82.79% <ø> (-0.01%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

examples/go.mod Outdated Show resolved Hide resolved
@fredbi fredbi force-pushed the test/check-examples-build branch 2 times, most recently from 94e0c16 to ab8dc0d Compare January 8, 2024 14:29
@fredbi fredbi added the examples label Jan 9, 2024
@fredbi fredbi marked this pull request as ready for review January 23, 2024 16:54
@fredbi fredbi changed the title Test/check examples build chore: updated dependencies for examples Jan 23, 2024
@fredbi fredbi force-pushed the test/check-examples-build branch 2 times, most recently from b8643be to 7dd7179 Compare January 25, 2024 13:19
* updated dependencies for oauth2 examples: oidc and jwt new versions
  came with breaking changes
* ci: added build check for examples

> NOTE: initially, I wanted to reduce the set of main dependencies by making the "examples" folder
>  it own module. Eventually, this did not change much (apart oidc and jwt)
> and was adding more maintainance burden. Given up on that.

Signed-off-by: Frederic BIDON <fredbi@yahoo.com>
@@ -58,6 +58,12 @@ jobs:
run: |
go install ./cmd/swagger

- name: Verify that examples build
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Don't you think it could deserve it's own job in the workflow with a dedicated step for each these commands ?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't know. This would require a "workflow_run" trigger to operate after the previous steps, but yes, essentually why not? If you feel strongly about that, please propose a follow-up PR.

@fredbi fredbi merged commit 89cc845 into go-swagger:master Jan 27, 2024
29 checks passed
@fredbi fredbi deleted the test/check-examples-build branch January 27, 2024 06:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants