Add Dependabot for NuGet packages and GitHub Actions

Open Beginner friendly
#19 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
2/5
Estimated time
1-3 hours
Newbie friendliness
74/100
Issue type
Feature
Clarity
Clearly specified
Activity status
Active
Tech stack
csharp, github-actions
Domain
ci-cd, devops

Research direction

Start from .github/dependabot.yml (to be created) and inspect the package references for the library, tests and sample to identify the EF Core and ASP.NET Core packages and their net10.0/net11.0 version lines. Then add nuget and github-actions update entries, grouping the EF Core and ASP.NET Core packages and ignoring major-version bumps for the version-specific packages. Done when the config covers all three NuGet locations and the existing workflows, with grouped updates and the stated ignores.

Written by the indexing model from the issue text.

Description

Nothing keeps dependencies current. Before NimblePros/Metronome#14, the package was still on Microsoft.AspNetCore.Http.Abstractions 2.2.0 from 2018.

To do

Add .github/dependabot.yml with:

  • nuget: for the library, the tests and the sample. Group the EF Core and ASP.NET Core packages so each update is one PR. Ignore major-version bumps of the version-specific packages, since the library deliberately references 10.0.x for net10.0 and 11.0.x for net11.0.
  • github-actions: keeps the workflow actions current.
Dominant language
C#
Stars
26
Forks
0
Avg merge
6h 17m
Merged PRs (30d)
2

Getting set up

This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from NimblePros/Metronome

All issues in NimblePros/Metronome

Similar issues

More C# issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.