-
Notifications
You must be signed in to change notification settings - Fork 17
Create dependabot.yml and update actions #291
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
base: master
Are you sure you want to change the base?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,7 @@ | ||
| # https://docs.github.com/github/administering-a-repository/configuration-options-for-dependency-updates | ||
| version: 2 | ||
| updates: | ||
| - package-ecosystem: "github-actions" | ||
| directory: "/" # Location of package manifests | ||
| schedule: | ||
| interval: "monthly" | ||
| Original file line number | Diff line number | Diff line change | ||||
|---|---|---|---|---|---|---|
|
|
@@ -21,14 +21,14 @@ jobs: | |||||
| fail-fast: false | ||||||
| matrix: | ||||||
| version: | ||||||
| - '1.6' # Replace this with the minimum Julia version that your package supports. E.g. if your package requires Julia 1.5 or higher, change this to '1.5'. | ||||||
| - 'min' | ||||||
|
Collaborator
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Suggested change
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. As I understand it, julia-action/setup-julia uses 'min' to read the repo's Project.toml to select the earliest version. If the CI is failing on that, should the minimum supported Julia version in Project.toml be bumped up?
Collaborator
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Ah interesting, yeah in that case we should bump it up to 1.10 probably.
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Addressed in #292 👍 |
||||||
| - '1' # Leave this line unchanged. '1' will automatically expand to the latest stable 1.x release of Julia. | ||||||
| os: | ||||||
| - ubuntu-latest | ||||||
| arch: | ||||||
| - x64 | ||||||
| steps: | ||||||
| - uses: actions/checkout@v4 | ||||||
| - uses: actions/checkout@v6 | ||||||
| - uses: julia-actions/setup-julia@v2 | ||||||
| with: | ||||||
| version: ${{ matrix.version }} | ||||||
|
|
||||||
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.
This Dependabot configuration can be improved for better security and maintainability:
monthlyinterval is quite long and can delay important security patches. It's recommended to use aweeklyinterval to get updates faster.labelsand customizing thecommit-messagehelps in organizing and tracking dependency updates. For example, you can add adependencieslabel and use a conventional commit prefix likechore.Here is a suggested improved configuration.
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.
Monthly is probably fine