renovate[bot] and Wolfgang Walther
f3aa00a838
chore(deps): update dependency ubuntu to v24
2024-11-13 14:41:23 +01:00
Wolfgang Walther and Wolfgang Walther
4c61749de9
chore(deps): update stackage snapshot to LTS 22.41
2024-11-12 21:13:31 +01:00
Wolfgang Walther and Wolfgang Walther
6f0c180b6b
chore(deps): update GHC for cabal builds
2024-11-12 21:13:31 +01:00
renovate[bot] and Wolfgang Walther
b83899340e
chore(deps): update dependency macos to v14
2024-11-06 09:43:41 +01:00
renovate[bot] and Wolfgang Walther
64f7f1451a
chore(deps): update actions/upload-artifact action to v4.4.3
2024-10-24 05:15:06 +02:00
renovate[bot] and Wolfgang Walther
204ae996a3
chore(deps): update actions/checkout action to v4.2.2
2024-10-24 05:09:39 +02:00
renovate[bot] and Wolfgang Walther
678103bbfa
chore(deps): update actions/upload-artifact action to v4.4.0
2024-09-04 13:29:49 +02:00
renovate[bot] and Wolfgang Walther
9a079607dd
chore(deps): update haskell-actions/setup action to v2.7.6
2024-08-18 14:04:19 +02:00
renovate[bot] and Laurence Isla
a9ba148373
chore(deps): update actions/upload-artifact action to v4.3.6
2024-08-13 13:25:55 -05:00
renovate[bot] and Wolfgang Walther
6c7963c1c4
chore(deps): update actions/upload-artifact action to v4.3.5
2024-08-02 21:07:32 +02:00
renovate[bot] and Wolfgang Walther
4b31205395
chore(deps): update haskell-actions/setup action to v2.7.5
2024-07-06 11:36:12 +02:00
renovate[bot] and Wolfgang Walther
7f8f76c0dd
chore(deps): update actions/upload-artifact action to v4.3.4
2024-07-06 11:35:21 +02:00
renovate[bot] and Wolfgang Walther
94d1bec0f9
chore(deps): update actions/checkout action to v4.1.7
2024-06-13 08:45:58 +02:00
Wolfgang Walther
89eae607f5
ci: Run build workflow in PRs which change composite actions
...
This should have been added in c4b0bd34 for cache-on-main and way before
that for artifact-from-cirrus.
2024-05-21 19:57:39 +02:00
Wolfgang Walther
dcfc6673b7
ci: Fix out-of-sync GHC version for stack jobs
2024-05-21 19:39:15 +02:00
renovate[bot] and Wolfgang Walther
4156070838
chore(deps): update haskell-actions/setup action to v2.7.3
2024-05-20 19:26:07 +02:00
Wolfgang Walther and Wolfgang Walther
9e6a89ffb8
ci: Install GHC/stack via haskell-actions/setup consistently
...
This action makes sure to always have the correct GHC and/or stack
version installed in all environments. This solves problem where ghc or
stack might not be available on newer macos images anymore or where
ghcup is not available by default on our new custom github runner on
arm.
2024-05-20 15:43:00 +02:00
Wolfgang Walther and Wolfgang Walther
d08e5959a0
ci: Reduce stack cache size
...
This removes the GHC install from stack caches to reduce size.
2024-05-20 15:43:00 +02:00
Wolfgang Walther and Wolfgang Walther
279febe26b
ci: Split cabal and stack work caches from regular cache
...
This is a first step to split up the cabal and stack caches in separate
pieces. Here we split the work folder, which just contains the
postgrest-specific build artifacts, into a separate cache.
More fine-grained caching should give us better cache hits and much
fewer upload size in the regular case, improving CI performance.
Since the work file caches are very small (about 30-40 MB) they are
cached for PRs, too. This will allow the majority of PRs, which only
change source code files, but no dependencies, to still have cached
their build files for additional commits.
2024-05-20 15:43:00 +02:00
Wolfgang Walther and Wolfgang Walther
c4b0bd347b
ci: Only save caches on main and release branches
...
This restores caches on all branches and pull requests, but only stores
them on the main branch and release branches. This prevents those caches
from being evicted early when we hit the 10 GB limit quickly.
2024-05-20 15:43:00 +02:00
renovate[bot] and Wolfgang Walther
80783a7ee8
chore(deps): update actions/checkout action to v4.1.6
2024-05-19 21:24:42 +02:00
renovate[bot] and Wolfgang Walther
fdcadb3d53
chore(deps): update actions/checkout action to v4.1.5
2024-05-09 14:08:51 +02:00
Wolfgang Walther
1ca2d1f8be
ci: Refactor get_cirrusci_freebsd script to GitHub action
...
This should make it more reliable and also easier to re-use, if we need
to.
Resolves #2555
2024-05-04 14:56:57 +02:00
renovate[bot] and Wolfgang Walther
46d8dfde42
chore(deps): update actions/checkout action to v4.1.4
2024-04-26 08:31:33 +02:00
renovate[bot] and Wolfgang Walther
bddfa2782d
chore(deps): update actions/checkout action to v4.1.3
2024-04-22 21:30:23 +02:00
Wolfgang Walther
6858693291
ci: Be explicit about the version of linux and windows runner images
...
Using the -latest tag is potentially prone to errors, because an update of the tag
could break our CI. This recently happend with macos-latest, which we downgraded
to macos-12 earlier.
Using an explicit version reference makes this problem much less likely - in fact
renovate will pick up new versions once they exist and will suggest updates for it.
Thus, we will see the failures in a related PR instead of randomly everywhere.
2024-04-22 21:20:30 +02:00
renovate[bot] and Wolfgang Walther
dcb9f92b80
chore(deps): update actions/upload-artifact action to v4.3.3
2024-04-22 21:14:58 +02:00
Wolfgang Walther and Wolfgang Walther
81ceac8ba3
ci: revert to macos-12
...
GitHub Actions updated the latest macos image to macos-14 [1], which made both
of our macos build jobs fail.
This reverts to macos-12, which should fix CI for the moment. We can then look
into migrating to macos-14 explicitly.
[1]: https://github.blog/changelog/2024-04-01-macos-14-sonoma-is-generally-available-and-the-latest-macos-runner-image/
2024-04-22 21:11:03 +02:00
renovate[bot] and Wolfgang Walther
dc6399abad
chore(deps): update actions/upload-artifact action to v4.3.2
2024-04-20 12:32:55 +02:00
renovate[bot] and Wolfgang Walther
f1f01f1f5c
chore(deps): update actions/cache action to v4.0.2
2024-03-19 21:58:16 +01:00
Wolfgang Walther
ee359192fa
ci: Fix duplicated version number for actions/cache
2024-03-19 21:57:30 +01:00
Wolfgang Walther
f72b47c485
chore: Add full semver comment to used actions
2024-03-01 08:54:27 +01:00
renovate[bot] and Wolfgang Walther
0eda5df644
chore(deps): update actions/cache digest to ab5e6d0
2024-03-01 08:11:53 +01:00
Wolfgang Walther
629ace0103
ci: Replace actions cache for macos build job with smart cachix lookup
2024-02-26 22:06:01 +01:00
Wolfgang Walther
73199127bb
chore: Remove cabal.project.non-nix
...
We don't have any source-repository-package stanzas in there anymore, so there's no
need to keep it around anymore.
2024-02-26 22:06:01 +01:00
Wolfgang Walther
e70f001cfc
ci: Remove matrix build for GHC 9.4.8 via Cabal on Linux
...
This is to reduce storage requirements for GitHub Actions cache. We already build with GHC 9.4.x
via Nix on Linux x64, via stack on FreeBSD, MacOS and Windows and via Cabal on Linux ARM. That
should cover 9.4.x enough.
2024-02-26 22:06:01 +01:00
Wolfgang Walther
3b497a5db4
ci: Remove useless cache- prefix for cache names
...
This just makes the name longer than needed.
2024-02-26 22:06:01 +01:00
renovate[bot] and Wolfgang Walther
873ac6221e
chore(deps): pin dependencies
2024-02-24 21:15:38 +01:00
Wolfgang Walther and Wolfgang Walther
9314dede2d
ci: Build with GHC 9.8.2
2024-02-24 13:37:24 +01:00
Wolfgang Walther and Wolfgang Walther
19423b0c0a
ci: Only run PR workflows when files have changed
2024-02-22 20:12:18 +01:00
Wolfgang Walther and Wolfgang Walther
e9abb64fc0
ci: Split Build workflow from CI workflow
2024-02-22 20:12:18 +01:00