Commit Graph
314 Commits
Author SHA1 Message Date
TomBen 442dad1f0a Remove pkg-config installation step in nightly workflow 2024-06-24 10:03:01 -07:00
TomBen 07602dedae Update macOS version in GitHub workflows to macos-12 2024-06-23 09:56:09 -07:00
Albert Krewinkel 042eb1782a CI: bump remaining actions/checkout from v3 to v4 2024-06-09 17:04:11 +02:00
John MacFarlane 4dd021d108 Bump checkout version for nightlies. 2024-05-27 13:08:14 -07:00
dependabot[bot]anddependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> 94eb6e0cfd Bump cachix/install-nix-action from 26 to 27 (#9774)
Bumps [cachix/install-nix-action](https://github.com/cachix/install-nix-action) from 26 to 27.
- [Release notes](https://github.com/cachix/install-nix-action/releases)
- [Commits](https://github.com/cachix/install-nix-action/compare/v26...V27)

---
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>
2024-05-19 19:39:19 -07:00
John MacFarlane 038c4dbc8a release-candidate build: use most recent version of checkout action. 2024-04-07 08:54:58 -07:00
John MacFarlane b1e2e452de release-candidate action: update WiX path.
3.14 is now used.
2024-03-17 21:35:23 -07:00
dependabot[bot]anddependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> 9c8ba48fb1 Bump cachix/install-nix-action from 25 to 26 (#9557)
Bumps [cachix/install-nix-action](https://github.com/cachix/install-nix-action) from 25 to 26.
- [Release notes](https://github.com/cachix/install-nix-action/releases)
- [Commits](https://github.com/cachix/install-nix-action/compare/v25...v26)

---
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>
2024-03-11 10:07:48 -07:00
John MacFarlane 8c42926cb2 Add djot reader and writer.
Djot is a light markup syntax (https://djot.net).

This patch adds djot as input and output formats.

API changes:

Add Text.Pandoc.Readers.Djot
Add Text.Pandoc.Writers.Djot
2024-02-13 23:10:42 -08:00
Edwin Török 81f7e5789f fix(ci): run 2nd docx validation workflow when script changes
Signed-off-by: Edwin Török <edwin@etorok.net>
2024-02-05 15:07:23 -08:00
dependabot[bot] 734f860618 build(deps): bump actions/cache from 3 to 4
Bumps [actions/cache](https://github.com/actions/cache) from 3 to 4.
- [Release notes](https://github.com/actions/cache/releases)
- [Changelog](https://github.com/actions/cache/blob/main/RELEASES.md)
- [Commits](https://github.com/actions/cache/compare/v3...v4)

---
updated-dependencies:
- dependency-name: actions/cache
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-01-21 19:21:03 -08:00
dependabot[bot] ff753bdfa6 build(deps): bump cachix/install-nix-action from 24 to 25
Bumps [cachix/install-nix-action](https://github.com/cachix/install-nix-action) from 24 to 25.
- [Release notes](https://github.com/cachix/install-nix-action/releases)
- [Commits](https://github.com/cachix/install-nix-action/compare/v24...v25)

---
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>
2024-01-14 19:40:11 -08:00
Edwin Török 56df2f1c17 ci(commit-validation): use git to walk commits
The PR event doesn't include the actual commits, just a count and a URL
to fetch it.
But we can checkout the entire git history, we don't have so many
commits that we need to optimize this just yet.
And then we might as well use `git` itself to walk the commit history.

(Using the remote commits URL would be useful only if we'd want to do a
shallow clone because we have too many commits)

Signed-off-by: Edwin Török <edwin@etorok.net>
2023-12-27 10:38:44 -08:00
John MacFarlane c33750c4b2 commit-validation CI - another attempt. 2023-12-26 23:00:22 -08:00
John MacFarlane 0ba8af939c commit validation CI: work with regular push as well as pr. 2023-12-26 22:49:50 -08:00
John MacFarlane b9b8343645 Fix commit-validation CI.
Hopefully. See #9286.
2023-12-26 22:46:56 -08:00
John MacFarlane 6b6da8b154 Fix commit validation CI.
This CI action has been broken for a long time, giving us false
negatives.
2023-12-19 15:51:28 -08:00
John MacFarlane 9875993559 Fix commit-validation CI. 2023-12-19 15:33:25 -08:00
John MacFarlane 9d15289864 Attempt to fix commit-validation CI. 2023-12-19 15:31:50 -08:00
Edwin Török 2e9e23e908 ci(docx): add 2 CI rules to run the validation rules from the Makefile
Triggered only when the golden docx or the validator script changes.

Signed-off-by: Edwin Török <edwin@etorok.net>
2023-12-19 15:00:23 -08:00
dependabot[bot] 72269357b7 Bump actions/upload-artifact from 3 to 4
Bumps [actions/upload-artifact](https://github.com/actions/upload-artifact) from 3 to 4.
- [Release notes](https://github.com/actions/upload-artifact/releases)
- [Commits](https://github.com/actions/upload-artifact/compare/v3...v4)

---
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-12-18 09:39:50 -08:00
dependabot[bot]anddependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> 251bfa8e94 Bump cachix/install-nix-action from 23 to 24 (#9234)
Bumps [cachix/install-nix-action](https://github.com/cachix/install-nix-action) from 23 to 24.
- [Release notes](https://github.com/cachix/install-nix-action/releases)
- [Commits](https://github.com/cachix/install-nix-action/compare/v23...v24)

---
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-12-03 20:42:21 -08:00
John MacFarlane ab154a46b0 Switch to actions/checkout@v4. 2023-09-10 21:11:16 -07:00
dependabot[bot]anddependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> 8d924ef645 Bump cachix/install-nix-action from 22 to 23 (#9074)
Bumps [cachix/install-nix-action](https://github.com/cachix/install-nix-action) from 22 to 23.
- [Release notes](https://github.com/cachix/install-nix-action/releases)
- [Commits](https://github.com/cachix/install-nix-action/compare/v22...v23)

---
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-09-10 21:09:58 -07:00
John MacFarlane 889dcbe99c Use ghc 9.6 for release builds.
See #8947.
2023-08-04 13:54:04 -07:00
John MacFarlane 52dc8342ab Change Windows release build to use cabal instead of stack.
Use ghc 9.2 to address #8955.
2023-07-18 17:01:25 -07:00
John MacFarlane 21b51d214d CI: don't trigger ci on changes to cirrus config. 2023-07-12 08:23:50 -07:00
John MacFarlane 61e3d84b55 CI: Another try to specify cabal store directory. 2023-06-28 10:32:37 -07:00
John MacFarlane 6908afdecf CI: fix path for cabal global store.
The GitHub action now uses `$XDG_STATE_HOME/cabal`, which is
why our cache wasn't working.

See https://github.com/haskell/actions/issues/210
2023-06-28 09:09:23 -07:00
John MacFarlane d472d43e43 CI for linux-nix: use -Wall. 2023-06-27 14:49:21 -07:00
John MacFarlane 139ba79305 Add cabal caching to linux-nix-cabal CI workflow. 2023-06-27 09:36:28 -07:00
John MacFarlane f074b03b89 Revert "Try adding magic nix cache to nix CI build."
This reverts commit 295c6b0485.

This was actually slower than what we had before (14m on second
run, as compared to 12m).
2023-06-26 16:46:47 -07:00
John MacFarlane 295c6b0485 Try adding magic nix cache to nix CI build.
See https://determinate.systems/posts/magic-nix-cache
2023-06-26 15:30:38 -07:00
John MacFarlane 7f30075ab7 Add CI testing on ghc 9.6 2023-06-26 09:15:06 -07:00
dependabot[bot] a27eaa22ca Bump cachix/install-nix-action from 21 to 22
Bumps [cachix/install-nix-action](https://github.com/cachix/install-nix-action) from 21 to 22.
- [Release notes](https://github.com/cachix/install-nix-action/releases)
- [Commits](https://github.com/cachix/install-nix-action/compare/v21...v22)

---
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-06-19 11:53:48 -04:00
John MacFarlane 6182769307 Remove support for ghc 8.6, 8.8. 2023-06-06 16:08:14 -07:00
dependabot[bot] 4ea1980699 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 12:27:22 -07:00
John MacFarlane c9a04e5cec Fix release-candidate build for macos.
Use ghc 9.4 and cabal 3.10.
2023-03-27 13:31:22 -07:00
John MacFarlane 9edf965712 Add typst writer.
See #8713.
2023-03-25 22:05:52 -07:00
John MacFarlane 440b438158 macos nighty build: use ghc 9.4.4. 2023-03-22 08:19:24 -07:00
John MacFarlane 74328eba7e CI/Nightly: use ghc 9.4 for windows build. 2023-03-16 09:27:51 -07:00
John MacFarlane 84262f2d06 CI: use latest point release for each ghc version. 2023-03-16 08:49:28 -07:00
John MacFarlane 3c1fe09b1f nightly: install ghc 9.4.4 for linux.
Otherwise it will use 9.6.1 which doesn't yet work.
2023-03-16 08:49:28 -07:00
John MacFarlane 7916940c23 More macos release candidate tweaks. 2023-03-12 20:36:45 -07:00
John MacFarlane 2c7b7620ab Fix macos release candidate on GitHub actions.
Change name of release candidate.

Remove linux rc build, as we're building on cirrus.
2023-03-12 19:43:28 -07:00
John MacFarlane 1cd5829a0c Factor out make_macos_release.sh from the release candidate workflow.
Also use cabal instead of stack to build the macos binary.
2023-03-10 09:23:16 -08:00
dependabot[bot]anddependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> 0fa0097a82 Bump cachix/install-nix-action from 19 to 20 (#8670)
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-05 19:22:17 -08:00
John MacFarlane c5f791b737 Windows CI: fix directory for global cabal store. 2023-03-05 10:44:51 -08:00
John MacFarlane 2b5385922f Revert "Another attempt at fixing Windows CI caching."
This reverts commit 4345350038.
2023-03-05 10:28:02 -08:00
John MacFarlane 4345350038 Another attempt at fixing Windows CI caching.
We use setup-haskell, which defines cabal-store as one of its outputs.
2023-03-05 10:17:09 -08:00