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 the linting offenses and run it on CI successfully #895

Merged
merged 3 commits into from
Sep 29, 2023

Conversation

mkllnk
Copy link
Member

@mkllnk mkllnk commented Sep 25, 2023

We have two CI checks. The build is still broken but the linting should work now.

Github doesn't have Ubuntu 18 runners any more.
We actually know that the file is not there because we just created a
new build directory but it's good style to add these things.
@mkllnk mkllnk self-assigned this Sep 25, 2023
Copy link
Member

@dacook dacook left a comment

Choose a reason for hiding this comment

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

Yay, thank you!

@@ -64,6 +64,7 @@
"
args:
chdir: "{{ build_path }}"
creates: "{{ build_path }}/.bundle/config"
Copy link
Member

Choose a reason for hiding this comment

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

TIL about this interestingly named argument. I would have expected more generic "if" style code, which I thought ansible also supports.

All good, this is clearly the standard way to do it, it's just new to me.

Copy link
Contributor

@rioug rioug left a comment

Choose a reason for hiding this comment

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

Looks good ! merging.

@rioug rioug merged commit e2672a3 into openfoodfoundation:master Sep 29, 2023
1 of 2 checks passed
@mkllnk mkllnk deleted the fix-linting branch October 9, 2023 04:02
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.

3 participants