Commit graph

18 commits

Author SHA1 Message Date
NAHO
eede713515
ci: prevent unintentional credential persistence (#1074)
Link: https://woodruffw.github.io/zizmor/audits/#artipacked
2025-03-30 16:04:23 +01:00
dependabot[bot]
08e0c91d76 ci: bump cachix/cachix-action from 15 to 16
Bumps [cachix/cachix-action](https://github.com/cachix/cachix-action) from 15 to 16.
- [Release notes](https://github.com/cachix/cachix-action/releases)
- [Commits](https://github.com/cachix/cachix-action/compare/v15...v16)

---
updated-dependencies:
- dependency-name: cachix/cachix-action
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-03-14 11:28:38 +00:00
Daniel Thwaites
65c42633d4
ci: ignore Cachix errors (#952)
This commit allows CI jobs to degrade gracefully if Cachix has issues,
by skipping uploads and/or building packages from scratch rather than
failing the job.

This is in response to the recent failures on `master`, which appear to
be caused by a 502 (Bad Gateway) response while uploading some of the
build results.
2025-03-04 13:32:05 +00:00
Daniel Thwaites
b273375e6c
ci: add Cachix cache (#919)
This will improve CI performance, and may also be used locally,
although this is not officially documented at this time.

I tested the required amount of space by building a `pkgs.linkFarm`
containing all testbeds, then manually pushing this to an empty Cachix
cache.

The total space used was 274 MiB of the 5 GiB free allowance, so
Cachix is good enough to cache at least 20 commits of history,
assuming the worst case scenario of every commit changing
every derivation we build.

Fixes #880
2025-02-26 15:49:42 +00:00
Daniel Thwaites
7c1c325928
ci: remove Magic Nix Cache (#745)
Magic Nix Cache will no longer work with the GitHub Actions cache
as of February 1st [1].

Temporarily removing this while we look into alternative solutions.

[1] https://determinate.systems/posts/magic-nix-cache-free-tier-eol/
2025-01-25 19:28:01 +00:00
NAHO
d3bdbf0c5b
treewide: add and apply yamllint pre-commit hook
Link: https://github.com/danth/stylix/pull/519
2025-01-04 17:45:52 +01:00
NAHO
2b85a56235
ci: simplify workflows
Link: https://github.com/danth/stylix/pull/519
2025-01-04 17:45:52 +01:00
NAHO
fe72c2306f
ci: update Ubuntu runner to ubuntu-24.04
Link: https://github.com/actions/runner-images/issues/10636
Link: https://github.com/danth/stylix/pull/519
2025-01-04 17:45:52 +01:00
NAHO
1aa931f6f1
ci: lock workflow dependencies to increase reproducibility
Link: https://github.com/danth/stylix/pull/519
2025-01-04 17:45:52 +01:00
Daniel Thwaites
5ca31b6068
ci: update Actions related to GitHub Pages (#524) 2024-08-23 21:00:58 +01:00
Daniel Thwaites
1adbaaf45c
ci: checkout via Nix rather than action (#280)
This is closer to how users would install Stylix. It may also be
slightly faster since there's one less action to process.
2024-03-13 10:52:34 +00:00
Daniel Thwaites
d0b264e216
ci: use Magic Nix Cache (#279) 2024-03-13 10:34:57 +00:00
Daniel Thwaites
9197996704
Fix Actions workflow on MacOS 👷 ⬆️ 2023-06-27 15:31:49 +01:00
Daniel Thwaites
184255d021
Remove Cachix 👷
Packages are small and quick, no need for the extra complexity.
2023-03-30 20:06:05 +01:00
Daniel Thwaites
a3f9fa981b
Convert documentation to mdBook 📝 🔨 2023-03-29 00:54:14 +01:00
Daniel Thwaites
308f7e27cb
Don't run docs workflow for pull requests 👷
The workflow attempts to skip the deployment step when it is run on other
branches, however environment protection rules are checked before this, causing
a failure.
2022-08-10 22:19:00 +01:00
Daniel Thwaites
5918310bcc
Update docs workflow 👷 ⬆️ 2022-08-02 19:26:14 +00:00
Daniel Thwaites
0ea346a423
Publish list of NixOS options on GitHub Pages 📝 2022-07-30 15:31:58 +01:00