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

fix: format check stage in the CI #2737

Merged
merged 3 commits into from
Sep 16, 2022
Merged

fix: format check stage in the CI #2737

merged 3 commits into from
Sep 16, 2022

Conversation

kelkarajay
Copy link
Contributor

@kelkarajay kelkarajay commented Sep 16, 2022

This PR fixes the CI workflow. The format checks had been moved to an independent workflow (https://github.com/ory/kratos/blob/master/.github/workflows/format.yml) to be triggered for PR's and master builds.

Related issue(s)

Build failure on master

Checklist

  • I have read the contributing guidelines.
  • I have referenced an issue containing the design document if my change
    introduces a new feature.
  • I am following the
    contributing code guidelines.
  • I have read the security policy.
  • I confirm that this pull request does not address a security
    vulnerability. If this pull request addresses a security. vulnerability, I
    confirm that I got green light (please contact
    security@ory.sh) from the maintainers to push
    the changes.
  • I have added tests that prove my fix is effective or that my feature
    works.
  • I have added or changed the documentation.

Further Comments

@@ -83,8 +83,6 @@ jobs:
uses: sonatype-nexus-community/nancy-github-action@v1.0.2
- run: npm install
name: Install node deps
- name: Run prettier
Copy link
Member

Choose a reason for hiding this comment

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

Is the formatting now checked somewhere else?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Copy link
Contributor Author

Choose a reason for hiding this comment

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

We can also rollback 20fdfe8 if the format check needs to be kept as a pre-req for tests

Copy link
Member

Choose a reason for hiding this comment

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

👍

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Take a look now please

@codecov
Copy link

codecov bot commented Sep 16, 2022

Codecov Report

Merging #2737 (a98f7ba) into master (d708c81) will increase coverage by 0.04%.
The diff coverage is n/a.

❗ Current head a98f7ba differs from pull request most recent head 61b0887. Consider uploading reports for the commit 61b0887 to get more accurate results

@@            Coverage Diff             @@
##           master    #2737      +/-   ##
==========================================
+ Coverage   75.15%   75.19%   +0.04%     
==========================================
  Files         294      294              
  Lines       17068    17068              
==========================================
+ Hits        12828    12835       +7     
+ Misses       3264     3258       -6     
+ Partials      976      975       -1     
Impacted Files Coverage Δ
persistence/sql/persister_courier.go 84.84% <0.00%> (+2.02%) ⬆️
courier/courier_dispatcher.go 62.71% <0.00%> (+8.47%) ⬆️

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

aeneasr
aeneasr previously approved these changes Sep 16, 2022
@kelkarajay kelkarajay changed the title fix: remove missing script invoke in favour of format workflow fix: fix format check stage in the CI Sep 16, 2022
@kelkarajay kelkarajay changed the title fix: fix format check stage in the CI fix: format check stage in the CI Sep 16, 2022
@aeneasr aeneasr merged commit bbe4463 into master Sep 16, 2022
@aeneasr aeneasr deleted the fix/format-stage branch September 16, 2022 11:15
peturgeorgievv pushed a commit to senteca/kratos-fork that referenced this pull request Jun 30, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants