Wolfgang Walther
b3600a26fb
ci: Add freebsd executable to releases
...
This was temporarily disabled, because of timeouts in Cirrus. This seems to work well again.
2024-02-17 15:24:10 +01:00
Wolfgang Walther
2a95acd163
Merge branch 'docs/v11.2' into rel-11.2
2024-02-17 13:46:23 +01:00
Wolfgang Walther
c1c45060ba
chore: Prepare merge of postgrest-docs into postgrest main repo
...
This avoids some merge conflicts to allow git blame to detect renames properly.
2024-02-17 13:43:21 +01:00
Laurence Isla and Steve Chavez
2ed163945b
Add test option for PostgreSQL 16
2023-10-04 00:07:09 -03:00
dependabot[bot] and Steve Chavez
c73282c3f0
build(deps): bump actions/checkout from 3 to 4 ( #2936 )
2023-10-04 00:07:09 -03:00
dependabot[bot] and GitHub
0dc67bed0b
build(deps): bump LouisBrunner/checks-action from 1.6.1 to 1.6.2 ( #2883 )
2023-07-31 00:17:36 -05:00
Laurence Isla and GitHub
83cf15fb7e
ci: specify GHC_VERSION for ARM build on CI config
...
* change cabal version from recommended to latest
2023-06-21 16:54:15 -05:00
steve-chavez
d9261fa674
ci: check against GHC 9.0.2
2023-06-21 16:22:30 -05:00
dependabot[bot] and GitHub
ab986b77d8
Bump cachix/install-nix-action from 21 to 22 ( #648 )
2023-06-19 10:22:57 -05:00
Laurence Isla and GitHub
772046242e
Add postgrest-docs-dictcheck to CI
2023-06-14 14:55:28 -05:00
dependabot[bot] and GitHub
11a9849152
build(deps): bump LouisBrunner/checks-action from 1.6.0 to 1.6.1 ( #2817 )
2023-06-12 10:34:48 -05:00
dependabot[bot] and Steve Chavez
d87d80108a
Bump cachix/install-nix-action from 20 to 21
...
Bumps [cachix/install-nix-action](https://github.com/cachix/install-nix-action ) from 20 to 21.
- [Release notes](https://github.com/cachix/install-nix-action/releases )
- [Commits](https://github.com/cachix/install-nix-action/compare/v20...v21 )
---
updated-dependencies:
- dependency-name: cachix/install-nix-action
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com >
2023-05-29 09:56:01 -05:00
dependabot[bot] and GitHub
54cbf147e3
build(deps): bump codecov/codecov-action from 3.1.3 to 3.1.4 ( #2794 )
2023-05-22 11:34:18 -05:00
dependabot[bot] and GitHub
3b55a27ef3
build(deps): bump codecov/codecov-action from 3.1.2 to 3.1.3 ( #2765 )
2023-04-24 11:21:49 -05:00
dependabot[bot] and GitHub
43da81c30c
build(deps): bump codecov/codecov-action from 3.1.1 to 3.1.2 ( #2757 )
2023-04-18 12:25:50 -05:00
Laurence Isla and GitHub
ad7d80a430
ci: clean files from arm server only on build failure/cancel for a version release
2023-04-13 16:29:26 -05:00
steve-chavez
e572d1d1a2
feat: configurable role settings
2023-04-10 14:27:08 -05:00
Wolfgang Walther
1442e02f5f
chore: Allow seed-cachix job to keep running when part of the matrix fail
2023-04-04 18:52:52 +02:00
6da204d554
Bump cachix/install-nix-action from 19 to 20 ( #597 )
...
Bumps [cachix/install-nix-action](https://github.com/cachix/install-nix-action ) from 19 to 20.
- [Release notes](https://github.com/cachix/install-nix-action/releases )
- [Commits](https://github.com/cachix/install-nix-action/compare/v19...v20 )
---
updated-dependencies:
- dependency-name: cachix/install-nix-action
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-03-06 11:17:46 -05:00
dependabot[bot] and Steve Chavez
ba00cb98f4
build(deps): bump actions/upload-artifact from 2.3.1 to 3.1.2
...
Bumps [actions/upload-artifact](https://github.com/actions/upload-artifact ) from 2.3.1 to 3.1.2.
- [Release notes](https://github.com/actions/upload-artifact/releases )
- [Commits](https://github.com/actions/upload-artifact/compare/v2.3.1...v3 )
---
updated-dependencies:
- dependency-name: actions/upload-artifact
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com >
2023-02-27 12:00:46 -05:00
dependabot[bot] and Steve Chavez
6184921edc
build(deps): bump actions/checkout from 2.4.0 to 3.3.0
...
Bumps [actions/checkout](https://github.com/actions/checkout ) from 2.4.0 to 3.3.0.
- [Release notes](https://github.com/actions/checkout/releases )
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md )
- [Commits](https://github.com/actions/checkout/compare/v2.4.0...v3 )
---
updated-dependencies:
- dependency-name: actions/checkout
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com >
2023-02-27 10:59:38 -05:00
steve-chavez
253f2bf537
ci: remove GHC 8.10.7
2023-02-25 14:19:52 -05:00
adeb622d31
Bump cachix/install-nix-action from 18 to 19 ( #593 )
...
Bumps [cachix/install-nix-action](https://github.com/cachix/install-nix-action ) from 18 to 19.
- [Release notes](https://github.com/cachix/install-nix-action/releases )
- [Commits](https://github.com/cachix/install-nix-action/compare/v18...v19 )
---
updated-dependencies:
- dependency-name: cachix/install-nix-action
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-02-13 12:34:33 -05:00
steve-chavez
a9d66d1dac
ci: fix ghcup
2023-02-09 16:46:27 -05:00
dependabot[bot] and Steve Chavez
ecada119f8
build(deps): bump LouisBrunner/checks-action from 1.5.0 to 1.6.0
...
Bumps [LouisBrunner/checks-action](https://github.com/LouisBrunner/checks-action ) from 1.5.0 to 1.6.0.
- [Release notes](https://github.com/LouisBrunner/checks-action/releases )
- [Commits](https://github.com/LouisBrunner/checks-action/compare/v1.5.0...v1.6.0 )
---
updated-dependencies:
- dependency-name: LouisBrunner/checks-action
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2023-02-06 09:21:31 -05:00
Robert and GitHub
8f80cd1469
Update nixpkgs, dependencies ( #2612 )
...
* relax upper bounds on HTTP, hspec, lens-aeson, optparse-applicative (fixes #2580 )
* upgrade stackage snapshot to latest LTS, with GHC 9.2.5
* bump nixpkgs to 2023-01-12
* fix complaints due to updated linters
2023-01-16 17:12:54 +01:00
Robert and GitHub
5fd6b3956e
ci: Add workflow to seed cachix ( #2615 )
...
Fixes #2609 .
2023-01-16 16:56:48 +01:00
Robert and GitHub
f353711ed2
ci: build with nix on macos (and push to cachix) ( #2610 )
...
The idea is to ensure the macos nix build works, and to
build a cache in cachix to help local development on macos.
2023-01-12 11:45:10 +01:00
Robert Vollmert
0a56d6ce88
ci: authenticate GitHub API request ( fixes #2607 )
2023-01-10 18:45:50 +01:00
steve-chavez
781fa592ca
refactor: delete QueryCost, instead use PlanSpec
2022-12-12 13:31:02 -05:00
Wolfgang Walther
425ab70ec7
fix: Make UPSERT work with PostgreSQL 15
...
Signed-off-by: Wolfgang Walther <walther@technowledgy.de >
2022-10-28 16:18:42 +02:00
dependabot[bot] and Steve Chavez
df538bfd98
build(deps): bump LouisBrunner/checks-action from 1.3.1 to 1.5.0
...
Bumps [LouisBrunner/checks-action](https://github.com/LouisBrunner/checks-action ) from 1.3.1 to 1.5.0.
- [Release notes](https://github.com/LouisBrunner/checks-action/releases )
- [Commits](https://github.com/LouisBrunner/checks-action/compare/v1.3.1...v1.5.0 )
---
updated-dependencies:
- dependency-name: LouisBrunner/checks-action
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2022-10-24 09:37:56 -05:00
dependabot[bot] and Steve Chavez
73f759ef3a
Bump cachix/install-nix-action from 17 to 18
...
Bumps [cachix/install-nix-action](https://github.com/cachix/install-nix-action ) from 17 to 18.
- [Release notes](https://github.com/cachix/install-nix-action/releases )
- [Commits](https://github.com/cachix/install-nix-action/compare/v17...v18 )
---
updated-dependencies:
- dependency-name: cachix/install-nix-action
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com >
2022-10-17 21:06:34 -05:00
dependabot[bot] and Steve Chavez
e564ed6e3e
build(deps): bump codecov/codecov-action from 3.1.0 to 3.1.1
...
Bumps [codecov/codecov-action](https://github.com/codecov/codecov-action ) from 3.1.0 to 3.1.1.
- [Release notes](https://github.com/codecov/codecov-action/releases )
- [Changelog](https://github.com/codecov/codecov-action/blob/master/CHANGELOG.md )
- [Commits](https://github.com/codecov/codecov-action/compare/v3.1.0...v3.1.1 )
---
updated-dependencies:
- dependency-name: codecov/codecov-action
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2022-09-26 12:12:12 -05:00
dependabot[bot] and Steve Chavez
bb52fb9b0e
build(deps): bump LouisBrunner/checks-action from 1.2.0 to 1.3.1
...
Bumps [LouisBrunner/checks-action](https://github.com/LouisBrunner/checks-action ) from 1.2.0 to 1.3.1.
- [Release notes](https://github.com/LouisBrunner/checks-action/releases )
- [Commits](https://github.com/LouisBrunner/checks-action/compare/v1.2.0...v1.3.1 )
---
updated-dependencies:
- dependency-name: LouisBrunner/checks-action
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2022-09-07 11:02:48 -05:00
Robert Vollmert
74ee6cd674
fix naming of stack builds (they don't test)
2022-09-05 23:27:41 +02:00
Robert Vollmert
90eaaefe12
upgrade to fork of hasql-pool 0.7.2 ( fixes #2401 )
...
This version of hasql-pool is a simplified rewrite that doesn't use
the resource-pool package. The major API changes are that idle
connections are no longer timed out (and the corresponding setting
is gone), and that `release` makes the pool unusable, where it used
to remain usable and only flushed idle connections.
We depend on a PostgREST fork of 0.7.2 that gives us reliable
flushing, compare https://github.com/PostgREST/hasql-pool/pull/1
- hasql-pool 0.7 removes timing out of idle connections, so
this change removes the db-pool-timeout option.
Given that we were typically running with very high
timeout settings, I don't anticipate the lack of timeout
to introduce new issues, though we might want to consider
introducing some retry-logic down the line when we
encounter connection failures.
- See https://github.com/PostgREST/postgrest/issues/2422 for a
discussion on depending on a forked dependency. Besides adding
the dependency to the nix overlay, we're also adding it to
stack.yaml and a new cabal.project to allow stack/cabal users
to build the project.
2022-08-29 14:55:09 +02:00
Robert Vollmert
3b290d524c
Add a CI check for building with Cabal
...
The idea is that this ensures
1. that it's easy for contributers to hack on PostgREST without
getting nix set up
2. we see things break more easily outside the very controlled nix
environment (e.g. it would be easy to add a GHC 9.4.2 build here)
2022-08-24 23:50:00 +02:00
Robert Vollmert
906fac2dd6
Consistently use the same checkout action
2022-08-24 23:50:00 +02:00
Robert Vollmert
9252ec2509
ci: verify that static executable is static
2022-07-12 23:25:06 +02:00
steve-chavez
86c40e8df9
test: don't run spec tests with stack
...
We cannot handle postgis and other postgresql dependencies with
stack.
Also delete test/with_tmp_db since it's no longer used.
2022-06-22 22:16:44 -05:00
Laurence Isla and GitHub
e4cdb8c491
ci: run on branches starting with "rel-"
2022-05-30 22:38:05 -05:00
Laurence Isla and Steve Chavez
c812a3fe3e
ci: Run ARM builds on releases
2022-05-16 18:10:36 -05:00
Laurence Isla and GitHub
867f2569a0
ci: Fix Windows build using Stack
...
Added PostgreSQL binaries to the PATH and removed the use of msys2-keyring
2022-05-05 00:06:00 -05:00
dependabot[bot] and Steve Chavez
b191431530
build(deps): bump codecov/codecov-action from 3.0.0 to 3.1.0
...
Bumps [codecov/codecov-action](https://github.com/codecov/codecov-action ) from 3.0.0 to 3.1.0.
- [Release notes](https://github.com/codecov/codecov-action/releases )
- [Changelog](https://github.com/codecov/codecov-action/blob/master/CHANGELOG.md )
- [Commits](https://github.com/codecov/codecov-action/compare/v3.0.0...v3.1.0 )
---
updated-dependencies:
- dependency-name: codecov/codecov-action
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2022-04-25 12:24:38 -05:00
Laurence Isla and GitHub
9bdb4e5c4f
ci: remove armv7 architectures for ARM builds
...
Now only builds aarch64 on the remote server without Docker
2022-04-23 20:30:07 +02:00
Laurence Isla and GitHub
bc7d54c7d2
Add CI for ARM architectures ( #2127 )
2022-04-18 17:40:32 +02:00
dependabot[bot] and Steve Chavez
f6c68ddafb
Bump cachix/install-nix-action from 16 to 17
...
Bumps [cachix/install-nix-action](https://github.com/cachix/install-nix-action ) from 16 to 17.
- [Release notes](https://github.com/cachix/install-nix-action/releases )
- [Commits](https://github.com/cachix/install-nix-action/compare/v16...v17 )
---
updated-dependencies:
- dependency-name: cachix/install-nix-action
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com >
2022-04-11 13:22:12 -05:00
dependabot[bot] and Wolfgang Walther
a768bcbf20
build(deps): bump codecov/codecov-action from 2.1.0 to 3.0.0
...
Bumps [codecov/codecov-action](https://github.com/codecov/codecov-action ) from 2.1.0 to 3.0.0.
- [Release notes](https://github.com/codecov/codecov-action/releases )
- [Changelog](https://github.com/codecov/codecov-action/blob/master/CHANGELOG.md )
- [Commits](https://github.com/codecov/codecov-action/compare/v2.1.0...v3.0.0 )
---
updated-dependencies:
- dependency-name: codecov/codecov-action
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com >
2022-04-11 08:23:26 +02:00
dependabot[bot] and Wolfgang Walther
cb145271ac
build(deps): bump actions/cache from 2.1.7 to 3
...
Bumps [actions/cache](https://github.com/actions/cache ) from 2.1.7 to 3.
- [Release notes](https://github.com/actions/cache/releases )
- [Commits](https://github.com/actions/cache/compare/v2.1.7...v3 )
---
updated-dependencies:
- dependency-name: actions/cache
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com >
2022-03-28 07:45:07 +02:00