sethreno / schemazen

Script and create SQL Server objects quickly
MIT License
333 stars 140 forks source link

Build devcontainer and run tests in CI #215

Closed keith-hall closed 1 year ago

sethreno commented 1 year ago

@keith-hall Thank you for adding this. It's made it way easier to to review and merge PRs.

keith-hall commented 1 year ago

You're welcome 🙂 sometimes even a small non-functional change can be the spark needed to revitalise a project 😉 It is by far the simplest CI action I have ever written, made possible by the use of the devcontainer 👍

Setting up CD - i.e. automatically publishing a nuget package on pushes to master - would be more complicated, but ultimately those sorts of changes can help reduce the maintenance burden. CI for confidence everything works, together with CD for convenience... It's probably not something I will work on though, I have limited time these days, but would be nice to see.

sethreno commented 1 year ago

I've done nuget publishing on several of my other projects. It's not that much effort actually. Here's an example: https://github.com/sethreno/ReGitLint/blob/master/.github/workflows/master.yml

I'll try to add this to publish the next version instead of doing it manually.