Commit graph

230 commits

Author SHA1 Message Date
John MacFarlane
4c485fbf41 nightly: use ghcup instead of haskell/actions 2022-04-24 22:52:03 -07:00
dependabot[bot]
955cb1fbc9
Bump haskell/actions from 1 to 2 (#8039)
Bumps [haskell/actions](https://github.com/haskell/actions) from 1 to 2.
- [Release notes](https://github.com/haskell/actions/releases)
- [Commits](https://github.com/haskell/actions/compare/v1...v2)

---
updated-dependencies:
- dependency-name: haskell/actions
  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>
2022-04-24 22:47:58 -07:00
John MacFarlane
dc03399cc3 Add 'nightly' flag.
This causes a `-nightly-COMPILEDATE` suffix to be added the
the output of `--version`.

This is used in the nightly CI builds.

Closes #8016.
2022-04-12 18:03:26 -07:00
John MacFarlane
f460936528 Revert "Add 'nightly' flag and build with this for nightlies."
This reverts commit f81f5a2090.
2022-04-12 10:06:02 -07:00
John MacFarlane
98034e8673 Revert "Nightly builds: ensure that data files are baked in."
This reverts commit a2818e97eb.
2022-04-12 10:05:24 -07:00
John MacFarlane
a2818e97eb Nightly builds: ensure that data files are baked in.
It seems that stack is replacing ALL flag settings rather
than overriding just one with `--flag`?

This should address #8016 but we await testing after
tonight's nightly is built.
2022-04-12 09:19:01 -07:00
John MacFarlane
f81f5a2090 Add 'nightly' flag and build with this for nightlies.
This flag causes a suffix '-nightly-YYYY-MM-DD' to be added
to the version for nightlies.

Closes #8016.
2022-04-11 17:17:11 -07:00
Naveen
125210c108
Set permissions for GitHub actions (#8005)
- Included permissions for the action. https://github.com/ossf/scorecard/blob/main/docs/checks.md#token-permissions

https://docs.github.com/en/actions/using-jobs/assigning-permissions-to-jobs

Signed-off-by: naveensrinivasan <172697+naveensrinivasan@users.noreply.github.com>
2022-04-04 20:58:46 -07:00
John MacFarlane
fec6ccaa0d CI: ensure we're using the right version of cabal.
(Add `--set` to `ghcup install`.)
2022-04-04 09:12:36 -07:00
dependabot[bot]
c34340aaaf
Bump actions/checkout from 2 to 3 (#7986)
Bumps [actions/checkout](https://github.com/actions/checkout) from 2 to 3.
- [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...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>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-03-24 17:51:31 -07:00
dependabot[bot]
b15fe8e515
Bump actions/cache from 2 to 3 (#7987)
Bumps [actions/cache](https://github.com/actions/cache) from 2 to 3.
- [Release notes](https://github.com/actions/cache/releases)
- [Commits](https://github.com/actions/cache/compare/v2...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>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-03-24 17:50:58 -07:00
Naveen
ab07beec77
Included githubactions in the dependabot config (#7985)
This should help with keeping the GitHub actions updated on new releases. This will also help with keeping it secure.

Dependabot helps in keeping the supply chain secure https://docs.github.com/en/code-security/dependabot

GitHub actions up to date https://docs.github.com/en/code-security/dependabot/working-with-dependabot/keeping-your-actions-up-to-date-with-dependabot

https://github.com/ossf/scorecard/blob/main/docs/checks.md#dependency-update-tool
2022-03-24 13:25:58 -07:00
John MacFarlane
acb187753a Change benchmarks to use ghc 9.2.2 instead of 8.8.4. 2022-03-24 09:57:32 -07:00
Naveen
f4a7ba967e
Set permissions for GitHub actions (#7984)
This limits the damage that a compromised GitHub action could do.

See https://github.com/ossf/scorecard/blob/main/docs/checks.md#token-permissions
https://docs.github.com/en/actions/using-jobs/assigning-permissions-to-jobs
2022-03-24 09:32:57 -07:00
John MacFarlane
8d04565394 Replace haskell/actions/setup with ghcup.
ghcup is installed by default on the GitHub runners.

This allows us to avoid relying on a third-party action
and may render #7984 irrelevant.
2022-03-24 09:26:47 -07:00
John MacFarlane
dff340ed50 CI: Test with ghc 9.2.2. 2022-03-24 09:22:10 -07:00
John MacFarlane
98275f1a85 Revert "Try re-enabling ghc 9.2.2 tests on CI."
This reverts commit 26f64c4d05.
2022-03-22 10:08:49 -07:00
John MacFarlane
26f64c4d05 Try re-enabling ghc 9.2.2 tests on CI. 2022-03-22 09:42:33 -07:00
John MacFarlane
9b5e6a8944 Skip ghc 9.2.2 tests for now...
the are failing with exit 1 in linker phase (out of memory?).
2022-03-14 08:35:38 -07:00
John MacFarlane
307a4e25b2 CI: use ghcup to install ghc, cabal; use ghc 9.2.2. 2022-03-13 23:23:53 -07:00
John MacFarlane
d0a874bd30 Add CI for ghc 9.2.1. 2022-03-13 17:44:35 -07:00
John MacFarlane
ce7e1f5169 Fix macos build on GitHub actions release-candidate. 2021-12-29 23:31:49 -08:00
John MacFarlane
a6f62b2e79 Restore macos build on GitHub release-candidate action.
See #7767.
2021-12-29 16:45:16 -08:00
Fabián Heredia Montiel
51c85b46ba
Update build files (#7696)
* Drop old windows 32-bit constraints

- basement >= 0.0.10 was 0.0.12 on stackage-18.10
- foundation >= 0.0.23 was 0.0.26.1 on stackage-18.10

* Update cabal `tested-with` field to correspond to `ci.yml` matrix

* ghc: 8.10.{2,4} → 8.10.7
2021-11-17 17:29:01 -08:00
John MacFarlane
03f9a0c61e Require ghc >= 8.6, base >= 4.12.
This allows us to get rid of the old custom prelude and
some crufty cpp.  But the primary reason for this is that
conduit has bumped its base lower bound to 4.12, making it
impossible for us to support lower base versions.
2021-11-09 23:43:12 -08:00
John MacFarlane
bac6ae9607 CI: remove test on ghc 8.0.2. 2021-11-05 19:13:29 -07:00
John MacFarlane
fcbfc8cd39 CI: remove linux-pdf for now.
I don't know what is going on with lmodern and lualatex.
2021-10-16 23:14:12 -07:00
John MacFarlane
3ddfb4cd6c CI: more tweaks to pdf tests. 2021-10-16 22:57:10 -07:00
John MacFarlane
9d5dd8219e CI: pdf test: need an input file! 2021-10-16 22:43:53 -07:00
John MacFarlane
b65951fa73 CI: fix yaml workflow. 2021-10-16 22:37:27 -07:00
John MacFarlane
fb804a375d CI: add workflow to test pdf production...
with xelatex, pdflatex, lualatex.
2021-10-16 22:33:56 -07:00
John MacFarlane
1cbaea673d Stop doing lint in CI.
The script failed for reasons I can't determine.
For now, we disable it.
2021-09-20 23:20:48 -07:00
John MacFarlane
395d65fdbe CI: disable ansi-tricks in tasty.
This will prevent the test output from being overwhelmed
with headings from passing tests.
2021-09-08 09:02:28 -07:00
John MacFarlane
ea88979aa2 Make parts of the bug report templates HTML comments. 2021-06-11 13:29:21 -07:00
John MacFarlane
a916c4bce4 Revise issue report "dashboard." 2021-06-11 13:15:22 -07:00
John MacFarlane
b01a7aa66c Add note about asking questions to bug report template. 2021-06-11 09:53:07 -07:00
John MacFarlane
55e9ca7c78 Fix line breaks in issue templates. 2021-06-11 09:51:19 -07:00
John MacFarlane
2390f58a07 Fix link to contributing guidelines. 2021-06-11 09:50:01 -07:00
John MacFarlane
01bae106bf Add contributing guidelines to issue menu. 2021-06-11 09:47:17 -07:00
John MacFarlane
1abac223c2 More honing of issue templates. 2021-06-11 09:45:13 -07:00
John MacFarlane
85f1e1f306 Remove pull requset template. 2021-06-11 09:39:27 -07:00
John MacFarlane
c9b354e15f Add pull request template. 2021-06-11 09:37:37 -07:00
John MacFarlane
6d471a4a28 Improve issue templates. 2021-06-11 09:37:27 -07:00
John MacFarlane
d46e0551fe Revert "Remove md versions of issue templates."
This reverts commit 61c0e0bbfb.
2021-06-11 09:17:59 -07:00
John MacFarlane
61c0e0bbfb Remove md versions of issue templates. 2021-06-11 09:15:22 -07:00
John MacFarlane
1fe07e6387 Update issue templates 2021-06-11 09:13:49 -07:00
John MacFarlane
8d1853bd36 Fancier issue templates.
Based on Doom Emacs's templates.
2021-06-11 09:06:47 -07:00
Albert Krewinkel
54ab7a0a3b CI: test with GHC 9.0.1 2021-05-25 11:52:49 -07:00
John MacFarlane
83c83d4589 CI: install numa library.
See failure at https://github.com/jgm/pandoc/runs/2541449722
2021-05-10 08:45:43 -06:00
John MacFarlane
3ab08fe2fb Fix nightly build. 2021-04-19 12:59:11 -07:00