Kissaki@programming.dev to Programming@programming.devEnglish · 7 months agoThe Pain That is GitHub Actions - Feldera Blogwww.feldera.comexternal-linkmessage-square8linkfedilinkarrow-up11arrow-down10cross-posted to: hackernews@lemmy.bestiver.se
arrow-up11arrow-down1external-linkThe Pain That is GitHub Actions - Feldera Blogwww.feldera.comKissaki@programming.dev to Programming@programming.devEnglish · 7 months agomessage-square8linkfedilinkcross-posted to: hackernews@lemmy.bestiver.se
minus-squarelemmeBe@sh.itjust.workslinkfedilinkarrow-up0·7 months agoDo formatting and linting and such autofix issues automatically as part of pre-commit checks. That way they don’t end up as part of the CI.
minus-squareFlipper@feddit.orglinkfedilinkarrow-up0·6 months agoIf it’s open source I’d still add it, because a lot of people can’t follow basic instructions.
minus-squarelemmeBe@sh.itjust.workslinkfedilinkarrow-up0arrow-down1·6 months agoThey don’t have to follow anything except try to commit their changes. Won’t be possible even locally if linting or typechecking fail.
minus-squarebamboo@lemm.eelinkfedilinkarrow-up1·6 months agoPre-commit hooks can’t be installed automatically and most people won’t even know they exist.
Do formatting and linting and such autofix issues automatically as part of pre-commit checks. That way they don’t end up as part of the CI.
If it’s open source I’d still add it, because a lot of people can’t follow basic instructions.
They don’t have to follow anything except try to commit their changes. Won’t be possible even locally if linting or typechecking fail.
Pre-commit hooks can’t be installed automatically and most people won’t even know they exist.