-
Notifications
You must be signed in to change notification settings - Fork 1
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
Refine workflow #1
base: main
Are you sure you want to change the base?
Conversation
Thanks! However, right now, the workflow does something I don't understand at all and is essentially useless. (This is nothing to do with your suggestions, obviously.)
Checks are run as part of the tag/release workflow, so running the ordinary checks would only duplicate the same tests, as far as I can tell.
Thanks. I'll take a look. Though this doesn't significantly contribute to the time. Almost all of it is spent building the font files and testing them.
Hmm. I could not get this to work with two caches, but probably I missed something.
Indeed. The comments don't bear much relation to anything, I realise. Thanks again. |
I thought the same - I just worked on the pieces I understand. 😇
I was very naive. My thought: There is a workflow for checks. That workflow will surely be adapted in the future. The "release" workflow will surely focus on getting a release out - not focus on advanced testing. Advanced testing is one in the "checks" workflow. - And the checks should run on releases, too. -- Even if tests are doubled, better accept the time than be sorry that there might be a diff in the results.
Sure. My thinking: This simplifies the workflow. - Action info: https://github.com/awalsh128/cache-apt-pkgs-action?tab=readme-ov-file#cache-apt-pkgs-action (it is currently maintained and did work well even in non-maintained phases)
At https://github.com/gi-ev/LNI/blob/main/.github/workflows/check.yml it worked well. Example run: https://github.com/gi-ev/LNI/actions/runs/13235264886/job/36938920765
I can remove even more, but I did not dare to do so ^^. |
I don't think it is naïve. Normally I'd agree; it is naïve to think I won't screw up rather than the contrary. But perhaps you are unfamiliar with
Unfortunately, this didn't stop me building a completely broken release, but two erroneous sets of checks would do me no more good than one. I also currently only push tags on their own. Mostly because I don't really understand [And, yes, it is daft to use both |
This refines the workflow: