patrick brisbin
a8de561848
Change interface to support newer hoauth2
...
This adds support for `ghc-9.12` / `hoauth2-2.15` and drops support for
`ghc < 9.4` / `hoauth2 < 2.8`.
Since this would be a major version bump no matter what, I've changed
the interface we present to align with `hoauth2-2.15`. This means using
the newer `fetch` functions, and `TokenResponse{,Error}` type names.
I've maintained our own `OAuth2` type so that the redirect-uri can
remain a `Maybe` field. The way plugins are constructed, we need to
build an `OAuth2` value in a pure context without one, which is then
supplied later, when we have `MonadHandler` and so can render URLs.
2026-01-06 16:47:57 -05:00
renovate[bot]
36bc61fa27
chore(deps): update actions/checkout action to v5 ( #197 )
...
CI / generate (push) Has been cancelled
CI / test (push) Has been cancelled
CI / lint (push) Has been cancelled
Release / release (push) Has been cancelled
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-09-24 12:29:06 -04:00
patrick brisbin
94ba2ebeab
fixup! Bring LTS configurations up to date
2024-02-27 15:09:36 -05:00
patrick brisbin
f968e42da6
Bring LTS configurations up to date
2024-02-27 15:09:36 -05:00
patrick brisbin
1aa3f29509
Update stack-nightly and test with hoauth2-2.9.0
2023-10-30 16:38:12 -04:00
patrick brisbin
3daf382e46
Update resolvers
2023-08-01 10:37:16 -04:00
patrick brisbin
940c0fc0a5
Refactor stack matrix
...
- Use our conventional resolvers by GHC
- Use hoauth2-2.8.0 in nightly, instead of allow-newer-deps
- Document matrix in CI workflow source
2023-04-06 14:50:52 -04:00
patrick brisbin
15a75ff6f9
Fix stack-nightly.yaml
2023-04-06 08:43:14 -04:00
Michael Gilliland
3c15ecd871
Fix hoauth2 compat for 2.7.0 ( #165 )
...
Use CPP to get 2.7.0 to compile
Resolves #164
2023-02-01 14:20:08 -05:00
patrick brisbin
36805f0580
Compile on Stackage Nightly again
...
- Support for hoauth2-2.6.0 (but not 2.7)
2022-12-15 16:32:09 -05:00
patrick brisbin
e7a9149210
Remove allow-newer from stack-nightly
...
hoauth2 released a new version with relaxed bounds.
2022-03-28 10:47:54 -04:00
patrick brisbin
e334033e44
Fix on-disk nightly resolver
2022-03-25 11:40:03 -04:00
patrick brisbin
219b5a939f
Add nightly on CI
...
LTS-19 and GHC-9.2 is coming. Adding this to ensure we can compile,
which seems to be the case.
We are only disabled in Stackage because hoauth2 is not ready, for which
I've opened: https://github.com/freizl/hoauth2/issues/142
2022-03-25 11:40:03 -04:00
patrick brisbin
8b0ad2c222
Update nightly CI
2020-12-21 08:40:43 -05:00
patrick brisbin
a635a51e8c
Fix nightly build
2020-08-19 10:56:37 -04:00
patrick brisbin
48277d9b8e
Compile on nightly/ghc-8.8
2019-12-03 20:27:15 -05:00
patrick brisbin
9c6ac9b59d
Fix for weeder and stack-2
2019-08-29 17:21:28 -04:00
patrick brisbin
644f02d027
Update nightly build
2018-11-24 14:10:33 -05:00
patrick brisbin
77eaa8eb96
Update stack-nightly.yaml
...
Most of the things are back in now, it seems.
2018-10-24 09:15:54 -04:00
patrick brisbin
569a85429a
Fix nightly build
2018-10-08 09:36:55 -04:00
patrick brisbin
cd0ea5d855
Update nightly stack settings
2018-07-29 09:07:19 -04:00
patrick brisbin
c454dfbd24
Add another missing nightly dep
2018-04-21 10:49:05 -04:00
patrick brisbin
dabed9cf71
Fix stack-nightly.yaml
2018-04-21 10:49:05 -04:00
patrick brisbin
4849477e99
Re-enable nightly on CI
2018-04-21 10:49:05 -04:00