Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
sunnyday_002
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
47 ms
·
1.
▲
by
sunnyday_002
9mo ago
Or just use Git LFS.
2.
▲
by
sunnyday_002
9mo ago
Ah okay! I know Rust has the transitive dependencies did not think/realise all languages might not, good point!
3.
▲
by
sunnyday_002
9mo ago
So the lockfile is a superset, but never a subset? So it basically is an SBOM then but just sometimes has extra dependencies?
4.
▲
by
sunnyday_002
10mo ago
Yes this is what I meant! If you structure it correctly using task runners and an environment manager you can do everything locally using the same versions etc. E.g. ```yaml name: Continuous Integration (CI) on: pull_request permissions:
5.
▲
by
sunnyday_002
10mo ago
That is because GH Actions is event based, that is more powerful and flexible than just triggering on every push and not letting it be configured. ``` on: push ``` is the event trigger to act on every push. You'll waste a lot of CI on
6.
▲
by
sunnyday_002
10mo ago
Pin the action's version via a digest and use Renovate for updates. You can run all your CI locally if you don't embed your logic into the workflows, just use CI for orchestation. Use an env manager(Mise, Nix etc) to install tooli
7.
▲
by
sunnyday_002
10mo ago
> I mean, … the outages are a big part of it. But those outages also extending to taking out my own hardware (e.g., through bugs like the above consuming resources on my own compute) is just double the pain. Never needed to run my own ru
8.
▲
by
sunnyday_002
10mo ago
It is fairly common pratice almost engineering best pratice to not put logic in CI. Just have it call out to a task runner, so you can run the same command locally for debugging etc. Think of CI more as a shell as a service, your just payin
9.
▲
by
sunnyday_002
10mo ago
> My issue with Github CI is that it doesn't run your code in a container. Is this not what you want? https://docs.github.com/en/actions/how-tos/write-workflows/c... > You just have github-run
10.
▲
by
sunnyday_002
10mo ago
In what way? I've never had an issue other than outages.
11.
▲
by
sunnyday_002
10mo ago
One of my favourite GitHub features is the ability to do a code search over the whole of GitHub, not sure GitLab has the same when I use to use it?
12.
▲
by
sunnyday_002
10mo ago
Surely you just need the workflow to not have embedded logic but call out to a task manager so you can do the same locally?
13.
▲
by
sunnyday_002
10mo ago
What is wrong with GitHub Actions other than the outages? I've never hit a issue myself.