py-mine / mcstatus

A Python library for checking the status of Minecraft servers
https://mcstatus.readthedocs.io
Apache License 2.0
478 stars 37 forks source link

Update CI #814

Closed ItsDrike closed 5 months ago

ItsDrike commented 5 months ago

This PR introduces various changes to the CI workflows in this repository.

Note: Once merged, it will be necessary to update the branch proection rules.

Changes:

(This PR is inspired by https://github.com/py-mine/mcproto/pull/300)

ItsDrike commented 5 months ago

Note: I've updated the branch protection rules. Actually, I moved us to the new branch rulesets instead of the classical protection rules, they provide a bit more options and are just nicer to work with. The ruleset matches our original rules exactly, except for the required workflows, which will now expect the new workflows.

Note 2: Since new workflow names are required, all PRs will need to rebase/merge latest master, to get those workflows to run.