-
Notifications
You must be signed in to change notification settings - Fork 142
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 ci #226
Fix ci #226
Conversation
gabrielperales
commented
Jul 8, 2024
•
edited
Loading
edited
- Update the minimum elixir version due to ecto (it needs at least elixir 1.11)
- Make CI run on PR targeting master branch.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@gabrielperales Thank for your contribution.
Later I will do a review of the library dependencies due to these changes, I think we may stop supporting some of the older versions, for example Ecto up to version 3+.
.github/workflows/ci.yml
Outdated
on: | ||
push: | ||
pull_request: | ||
branches: [master] | ||
types: [opened, synchronize, reopened] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It seems to me we can just run CI on any PR
on: | |
push: | |
pull_request: | |
branches: [master] | |
types: [opened, synchronize, reopened] | |
on: | |
pull_request: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think the CI badge is not working properly after removing on: push
😓
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@gabrielperales No problem. I would fix them
Co-authored-by: Petr Stepchenko <[email protected]>
@@ -1,4 +1,5 @@ | |||
on: push | |||
on: | |||
pull_request: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Note that removing push
here made it so that now it doens't run CI on master
branch, only pull requests.