renovate[bot] and Wolfgang Walther
addbe5b7e2
chore(deps): update ubuntu:noble docker digest to 99c3519
2024-10-24 05:04:28 +02:00
renovate[bot] and Wolfgang Walther
bfbd033c6e
chore(deps): update ubuntu:noble docker digest to dfc1087
2024-09-18 20:01:51 +02:00
Andrei Dziahel and Wolfgang Walther
c2513c8861
ci: drop directories from windows release
...
Puts windows release in line with others which have the executable on the top level
2024-09-11 19:22:37 +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 Wolfgang Walther
07febf41cc
chore(deps): update ubuntu:noble docker digest to 8a37d68
2024-08-18 14:04:05 +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
d9e6d3c7e2
chore(deps): update actions/checkout action to v4
2024-07-06 11:38:24 +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
ced8665076
chore(deps): update actions/download-artifact action to v4.1.8
2024-07-06 11:35:29 +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
0d91266309
chore(deps): update actions/checkout action to v3.4.0
2024-06-29 10:22:56 +02:00
renovate[bot] and Wolfgang Walther
4761fad956
chore(deps): update ubuntu:noble docker digest to 2e863c4
2024-06-19 19:22:38 +02:00
Wolfgang Walther
2ed9ac7e57
ci: Run linkcheck once a week instead of every PR
...
Resolves #3544
2024-06-15 17:52:21 +02:00
Wolfgang Walther and Wolfgang Walther
bb96c2dc74
feat: Drop support for pg 11
...
PostgreSQL 11 is EOL since November 2023.
2024-06-15 17:23:34 +02:00
Wolfgang Walther and Wolfgang Walther
126178642b
feat: Drop support for pg 10
2024-06-15 17:23:34 +02:00
Wolfgang Walther and Wolfgang Walther
daa77d17aa
feat: Drop support for pg 9.6
2024-06-15 17:23:34 +02:00
renovate[bot] and Wolfgang Walther
35910eb4b0
chore(deps): update codecov/codecov-action action to v4.5.0
2024-06-13 19:51:07 +02:00
renovate[bot] and Wolfgang Walther
9efedc5306
chore(deps): update ubuntu:noble docker digest to e3f92ab
2024-06-13 08:46:38 +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 and Wolfgang Walther
71711bb935
ci: Prevent caching cabal and stack cache in PRs
...
This was supposed to happen in c4b0bd34 and 279febe2 , but somehow didn't
work, yet.
2024-05-21 20:44:41 +02:00
Wolfgang Walther
ad5bb38d70
ci: Don't cancel previous runs for tag pipelines
...
Those create annoying "cancelled" notifications which looks like CI on
main was failing. It's not, though.
By just disabling the cancel-in-progress setting, but keeping the group
intact, this should queue multiple tag jobs / tag workflows behind each
other and still avoids the underlying problem which occurs when running
them in parallel.
2024-05-21 20:43:18 +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
Laurence Isla
04d6f41f45
chore: update commit prefix info in the PR template
2024-05-21 09:03:12 -05:00
renovate[bot] and Wolfgang Walther
11c9e8dac9
chore(deps): update cachix/cachix-action action to v15
2024-05-20 19:26:45 +02:00
renovate[bot] and Wolfgang Walther
b8436fd397
chore(deps): update codecov/codecov-action action to v4.4.1
2024-05-20 19:26:18 +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
Laurence Isla and Wolfgang Walther
ea4d1596b7
ci: fix release not executing when skipping CI for docs and tests
2024-05-17 08:09:19 +02:00
renovate[bot] and Wolfgang Walther
9d763aef00
chore(deps): update codecov/codecov-action action to v4.4.0
2024-05-15 09:20:39 +02:00
Wolfgang Walther
b8fe512def
ci: Avoid trying to upload loadtest reports for tag pipelines
...
In this case the loadtest doesn't run anymore, so the job would fail.
2024-05-12 15:28:13 +02:00
Wolfgang Walther
271b3b273d
ci: Disable tagging releases in forks
2024-05-12 15:10:28 +02:00
Wolfgang Walther
5c040e74f5
ci: Prevent running check, docs and test suites on tags
...
This doesn't make sense, because each tag is only pushed when those
pipelines have already passed. Thus, we can save time and avoid wasting
resources and don't run those again.
2024-05-12 15:01:20 +02:00
Wolfgang Walther
4a3fdc175c
ci: Skip release jobs on outdated tags
...
This happens a commit is pushed to main while the pipelines have not
finished for the previous commit. In this case the devel-tag pipelines
will run concurrently, leading to unpredictable results for the devel
release.
2024-05-12 14:58:27 +02:00
Wolfgang Walther
07222cff7b
chore: Restrict macos to v12
2024-05-10 08:19:29 +02:00
Wolfgang Walther
d03b321659
ci: Actually pass GHC_VERSION to arm build script
2024-05-09 21:58:37 +02:00
Wolfgang Walther
5580fe0040
ci: Make arm scripts fail on error
2024-05-09 21:46:10 +02:00
Wolfgang Walther
7d713b8c53
ci: Tag arm docker image properly for releases
2024-05-09 21:46:10 +02:00
Wolfgang Walther
2cb45bd5f8
ci: Extract changelog properly for releases
2024-05-09 21:46:10 +02:00
Wolfgang Walther
a427fb67f6
ci: Fetch tags before checking whether tag exists
2024-05-09 14:53:38 +02:00
Wolfgang Walther
3afa5f6a36
ci: Move docker-hub-readme.md to base folder
...
This is not related to nix tooling anymore, because a github action
without any nix tooling is updating this now.
2024-05-09 14:35:52 +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 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
Wolfgang Walther
cb6151eb1b
ci: Make artifact-from-cirrus action succeed when cirrus job doesn't start up in PR
2024-05-07 08:29:31 +02:00