renovate[bot] and Wolfgang Walther
bcae4a366f
chore(deps): update all dependencies
2026-06-19 19:07:40 +00:00
renovate[bot] and Wolfgang Walther
74db7b7185
chore(deps): update cachix/cachix-action digest to 5f2d7c5
2026-05-12 13:10:49 +00:00
renovate[bot] and Wolfgang Walther
422c2934a2
chore(deps): update cachix/cachix-action action to v17
2026-03-18 21:24:19 +00:00
renovate[bot] and Wolfgang Walther
a4b1957981
chore(deps): update all dependencies
2026-03-13 14:06:25 +00:00
renovate[bot] and Wolfgang Walther
8ceffa0efc
chore(deps): update nixbuild/nix-quick-install-action action to v34
2025-09-25 08:51:14 +00:00
renovate[bot] and Wolfgang Walther
3a28968f3c
chore(deps): update nixbuild/nix-quick-install-action action to v33
2025-08-25 15:08:25 +00:00
Wolfgang Walther
59eaae10ca
ci: update Nix to 2.29.1
...
Related:
https://discourse.nixos.org/t/security-advisory-privilege-escalations-in-nix-lix-and-guix/66017
2025-06-25 12:58:46 +02:00
renovate[bot] and Wolfgang Walther
fc01a72f4e
chore(deps): update cachix/cachix-action action to v16
2025-03-26 18:02:59 +00:00
renovate[bot] and Wolfgang Walther
62150aaf53
chore(deps): update nixbuild/nix-quick-install-action action to v30
2025-03-24 16:24:24 +00:00
Wolfgang Walther
6858709866
ci: Skip cachix push when no cachix token is set
...
This happens in forks.
2025-01-18 18:01:35 +01:00
renovate[bot] and Wolfgang Walther
5f7a2cda15
chore(deps): update nixbuild/nix-quick-install-action action to v29
2024-11-05 22:07:51 +01:00
renovate[bot] and Wolfgang Walther
11c9e8dac9
chore(deps): update cachix/cachix-action action to v15
2024-05-20 19:26:45 +02:00
Wolfgang Walther and Wolfgang Walther
1374178f27
ci: Improve performance for nix jobs in CI
...
Defaulting to max-jobs = auto should improve build times by using more
cores.
Setting always-allow-substitutes to true should cause all nix
derivations to be cached on cachix, which should improve performance of
the MacOS job dramatically, when no rebuilds need to happen.
2024-05-07 14:42:12 +02:00
renovate[bot] and Wolfgang Walther
5c29742d7f
chore(deps): update nixbuild/nix-quick-install-action action to v28
2024-05-04 13:35:13 +02:00
renovate[bot] and Wolfgang Walther
210cded560
chore(deps): update nixbuild/nix-quick-install-action action to v27
2024-03-15 17:13:24 +01:00
renovate[bot] and Wolfgang Walther
873ac6221e
chore(deps): pin dependencies
2024-02-24 21:15:38 +01:00
Wolfgang Walther
f513a71c7a
ci: Use latest stable nix version in CI
...
This was pinned to 2.13.6 in https://github.com/PostgREST/postgrest/pull/2692#issuecomment-1448938894
because of a regression in nix 2.14. Latest is 2.16.x now, so maybe this bug is already fixed.
2024-02-10 20:16:22 +01:00
Wolfgang Walther
8a3b0c60ad
ci: Remove nix actions cache and prepopulate job
...
The nix actions cache currently leads to repeated "no space left on
devices" errors for jobs in CI.
The prepopulate job is useless without the nix actions cache, so it
will go away at the same time.
2024-02-10 12:35:56 +01:00
Wolfgang Walther
066fa8b6aa
ci: Improve cache keys and their restore prefixes
...
The cache key for nix now depends on default.nix and shell.nix in the root folder and all
.patch files in the nix folder. Those may change the output of our nix derivations, so
must be included. At the same time, there is no reason to include the actions/setup-nix
folder. This would only lead to new caches being created every time we update one of the
dependent actions in this file. Finally, we never restore caches with a different id any-
more. There is no point in having the style job fall back to the static cache for example.
The cache keys for cabal can be more explicit: We only have one postgrest.cabal and one
relevant cabal.project file. We were missing the cabal.project.freeze file, though, which
affects the dependencies used, too.
2024-02-09 18:43:53 +01:00
Andrei Dziahel and Wolfgang Walther
a45058ba02
ci: reuse more previous caches (Nix & Stack)
2024-02-05 21:51:32 +01:00
Andrei Dziahel and Wolfgang Walther
411cf430ad
ci: revert cache-nix-action to v4
...
Upgrading c-n-action seems to break restoring Nix store rendering the cache useless (nix-community/cache-nix-action#27 ). This rolls the change back.
2024-01-26 18:40:45 +01:00
Andrei Dziahel and Steve Chavez
9c78751871
ci: fix c-n-a input names
2024-01-22 11:28:41 -05:00
dependabot[bot] and Steve Chavez
820917bcb6
build(deps): bump nix-community/cache-nix-action
...
Bumps [nix-community/cache-nix-action](https://github.com/nix-community/cache-nix-action ) from 4.0.3 to 5.0.1.
- [Release notes](https://github.com/nix-community/cache-nix-action/releases )
- [Changelog](https://github.com/nix-community/cache-nix-action/blob/main/RELEASES.md )
- [Commits](https://github.com/nix-community/cache-nix-action/compare/v4.0.3...v5.0.1 )
---
updated-dependencies:
- dependency-name: nix-community/cache-nix-action
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com >
2024-01-22 11:28:41 -05:00
Steve Chavez and GitHub
c070cb9502
Revert "build(deps): bump nix-community/cache-nix-action from 4.0.3 to 5.0.1 in /.github/actions/setup-nix" ( #3167 )
2024-01-17 17:55:38 -05:00
dependabot[bot] and GitHub
a8165a89a0
build(deps): bump nix-community/cache-nix-action ( #3135 )
2024-01-17 17:25:10 -05:00
dependabot[bot] and GitHub
740fcdf5ab
build(deps): bump cachix/cachix-action in /.github/actions/setup-nix ( #3159 )
2024-01-15 14:54:44 -05:00
Andrei Dziahel and GitHub
72083361bc
ci: similar jobs use a single cache for Nix stores
...
Jobs that use the setup-nix action will share a single cache, which is created by a previous warm up Job.
2023-12-05 13:57:18 -05:00
dependabot[bot] and GitHub
6277eb43f7
build(deps): bump cachix/cachix-action in /.github/actions/setup-nix ( #3085 )
2023-12-04 15:39:40 -05:00
Andrei Dziahel and GitHub
abcb21c69a
ci: cache Nix store with cache-nix-action ( #2992 )
...
* ci: try nix-community/cache-nix-action
* ci: add cache-id param to setup-nix action
* ci: tidy up cache keys for non-nix jobs
* ci: merge-nix-caches-linux job
* ci: merge caches other way around
* ci: reduce number of caches
Should prevent disk overflow
* ci: change cache id prefix for merge
* ci: comment out cache merging job
* ci: revert cache id prefix
* ci: setup-nix: use latest cache-nix-action
Among others, makes action logs look more tidy (see https://github.com/nix-community/cache-nix-action/commit/17d19d3d8be918757589635bc1a6830be0b129d2 )
* ci: use test-pg cache key for loadtest
2023-11-21 18:56:23 -05:00
dependabot[bot] and GitHub
3f5e840baf
build(deps): bump cachix/install-nix-action ( #2935 )
2023-09-11 03:00:29 -03:00
Laurence Isla and GitHub
c1a8661ab3
ci: Update dependabot to look for dependencies in nested folder
...
- Bump cachix/install-nix-action from 21 to 22
- Add actions/setup-nix to dependabot dependencies
2023-06-19 12:33:42 -05:00
steve-chavez
8213c58452
ci: pin Nix version to avoid error
...
To 2.13.3
2023-02-28 17:30:54 -05:00
Wolfgang Walther and Wolfgang Walther
772d3c4e01
chore: Update cachix actions
...
Signed-off-by: Wolfgang Walther <walther@technowledgy.de >
2022-10-27 21:54:30 +02:00
Wolfgang Walther and Wolfgang Walther
b7c261f520
ci: Update actions
2021-11-21 18:40:42 +01:00
Wolfgang Walther and Wolfgang Walther
f333305491
ci: Add setup-nix action to reuse nix-related code
2021-11-21 18:40:42 +01:00