1
1
mirror of https://github.com/wez/wezterm.git synced 2024-12-02 11:03:49 +03:00
Commit Graph

46 Commits

Author SHA1 Message Date
dependabot[bot]
c2e0395fac build(deps): bump actions/upload-pages-artifact from 1 to 2
Bumps [actions/upload-pages-artifact](https://github.com/actions/upload-pages-artifact) from 1 to 2.
- [Release notes](https://github.com/actions/upload-pages-artifact/releases)
- [Commits](https://github.com/actions/upload-pages-artifact/compare/v1...v2)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-07-16 20:34:16 -07:00
Wez Furlong
61470c9912
ci: update cache to v3 2023-05-08 10:59:31 -07:00
Wez Furlong
204049b83e
ci: update cargo-install
closes: https://github.com/wez/wezterm/pull/3377
2023-03-26 19:47:48 -07:00
Jalil Salamé
1535d88290
Ci toolchain: Do not use actions-rs/toolchain (#3327)
* fix(generate-workflows): Do not use actions-rs

[actions-rs/toolchain](https://github.com/actions-rs/toolchain) is unsupported:

- Has not recieved updates since November 2020 (~2.5 years)
- It uses Node.js 12 and GitHub will stop supporting it Summer this year(?) see
  this [article](https://github.blog/changelog/2022-09-22-github-actions-all-actions-will-begin-running-on-node16-instead-of-node12/).

[dtolnay/rust-toolchain](https://github.com/dtolnay/rust-toolchain) is
actively supported and its mostly a 1-1 replacement, the differences are:

- Uses the minimal profile always, so no need to specify it.
- There is no need to override the toolchain.

I also removed some things:

- None of the generated actions use `rustfmt` so I removed the component
- The toolchain is always stable, so I specified it in the action itself
  instead of in the action parameters.

* ci: Regenerate workflows

* fix: Remove ALLOW_UNSECURE_COMMANDS from action

* fix(CentOS7): Manually install rustup as CentOS7 uses a very old curl

* fix: Restart shell so that the rustup command is available

* feat: Add exeption to the CentOS workflow to download rustup

* fix: Remove actions-rs/toolchain from remaining workflows

* fix: Address review comment
2023-03-24 10:16:09 -07:00
dependabot[bot]
dcbc2bf2bc build(deps): bump actions/deploy-pages from 1 to 2
Bumps [actions/deploy-pages](https://github.com/actions/deploy-pages) from 1 to 2.
- [Release notes](https://github.com/actions/deploy-pages/releases)
- [Commits](https://github.com/actions/deploy-pages/compare/v1...v2)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-03-19 20:18:53 -07:00
Wez Furlong
6237668a14
pages: run only one at a time, allow them to queue up 2023-03-16 21:23:16 -07:00
Wez Furlong
4770b38737
docs: switch doc build to Material for MkDocs
It's a more mature and actively developed toolset for
technical writing, and looks nicer.
2023-03-15 19:22:51 -07:00
Wez Furlong
fecf3bb60b
docs: add mdbook-admonish 2023-02-25 18:19:47 -07:00
Wez Furlong
494fab09ba
ci: docs: deploy directly, rather than via gh_pages branch 2023-02-25 17:49:57 -07:00
Wez Furlong
dd28dbae0a
ci: unpin rust and mdbook versions in pages workflow 2023-01-23 19:06:35 -07:00
azzamsa
b74cd91789 docs: use new gelatyx file-list option 2023-01-23 17:54:48 -08:00
Wez Furlong
8b05fdba84
ci: apparently GH_TOKEN is what it really should be 2022-12-27 10:10:49 -07:00
Wez Furlong
295e0c444f
ci: potentially fixup flakey pages build
It has been failing sporadically due to GH API rate limiting.
Use the gh CLI if available, to pick up our access token.
2022-12-22 10:54:17 -07:00
Wez Furlong
478109de07 ci: try harder to pin rust version for mdbook breakage 2022-10-01 07:12:23 -07:00
Wez Furlong
f0e18129e9 ci: I hate yaml 2022-10-01 06:34:49 -07:00
Wez Furlong
c041cef03e ci: take another crack at dealing with mdbook breakage
refs: https://github.com/Michael-F-Bryan/mdbook-linkcheck/issues/73
refs: https://github.com/rust-lang/mdBook/issues/1860
refs: https://github.com/badboy/mdbook-mermaid/pull/23
2022-10-01 06:31:35 -07:00
Wez Furlong
9102973274 ci: disable mdbook-linkcheck
refs: https://github.com/Michael-F-Bryan/mdbook-linkcheck/issues/73
2022-10-01 06:16:13 -07:00
Wez Furlong
e74defad11 ci: maybe fix mdbook compile failure
refs: https://github.com/rust-lang/mdBook/issues/1860
2022-09-30 09:25:27 -07:00
azzamsa
be929db374 docs: reformat lua code
refs: https://github.com/wez/wezterm/pull/2273
refs: https://github.com/wez/wezterm/issues/2253
2022-07-19 06:27:33 -07:00
dependabot[bot]
a9612bc613 build(deps): bump crazy-max/ghaction-github-pages from 2 to 3
Bumps [crazy-max/ghaction-github-pages](https://github.com/crazy-max/ghaction-github-pages) from 2 to 3.
- [Release notes](https://github.com/crazy-max/ghaction-github-pages/releases)
- [Changelog](https://github.com/crazy-max/ghaction-github-pages/blob/dev/CHANGELOG.md)
- [Commits](https://github.com/crazy-max/ghaction-github-pages/compare/v2...v3)

---
updated-dependencies:
- dependency-name: crazy-max/ghaction-github-pages
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-05-29 20:58:00 -07:00
Wez Furlong
b25d4d22ee ci: tweak pages workflow a bit more 2022-05-06 20:19:14 -07:00
Wez Furlong
c16ea9b134 ci: maybe improve caching for pages workflow 2022-05-06 20:04:11 -07:00
Wez Furlong
b95f453ede ci: actions/checkout 2.4 -> 3
closes: #1855
2022-04-10 18:34:51 -07:00
Wez Furlong
2a8ff9ca75 docs: adopt mermaid-js for flowchart
This is a bit more compact and easier to edit.

A downside is that the search engine highlight can break the diagram and
cause it to emit a syntax error.
2022-04-03 22:09:17 -07:00
dependabot[bot]
0ce029fdba build(deps): bump actions/checkout from 1 to 2.4.0
Bumps [actions/checkout](https://github.com/actions/checkout) from 1 to 2.4.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/v1...v2.4.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-01-26 09:51:49 -08:00
Wez Furlong
c885e5a65b ci: just split into two for now
I'm not confident that the PR filter in the last commit will work,
so just split into two workflows for now.
2021-12-11 23:35:30 -07:00
Wez Furlong
f72112f690 ci: trigger page build for doc changes 2021-12-11 23:30:36 -07:00
Frieder Bluemle
57eebb7997 Format non-generated workflow files 2021-10-02 10:11:54 -07:00
Wez Furlong
8c4e1f02e2 ignore template edits for pages build 2021-08-17 17:43:59 -07:00
Wez Furlong
35060fb2de Revert "ci: disable mdbook-linkcheck"
This reverts commit bef0fa29ac and
bb2d45d0aa.

refs: https://github.com/Michael-F-Bryan/mdbook-linkcheck/issues/53
2021-02-24 09:28:00 -08:00
Wez Furlong
bb2d45d0aa ci: html subdir disappears from mdbook build when disabling linkcheck
refs: https://github.com/Michael-F-Bryan/mdbook-linkcheck/issues/53
2021-02-23 08:14:41 -08:00
Wez Furlong
bef0fa29ac ci: disable mdbook-linkcheck
It no longer builds, and switching to an older version produces
errors :-(

refs: https://github.com/Michael-F-Bryan/mdbook-linkcheck/issues/53
2021-02-23 08:10:38 -08:00
Wez Furlong
ef41952cb5 ci: ignore/include docs for code/pages workflows 2021-02-07 09:59:10 -08:00
Wez Furlong
5775f4e432 ci: update page rebuild for master -> main branch rename 2021-02-07 09:49:52 -08:00
Wez Furlong
9a610358d1 docs: upgrade to mdbook 0.4, enable link checking
Standardize on `thing.md` rather than `thing.markdown` to make it
easier to cross link.
2021-01-30 14:14:29 -08:00
Wez Furlong
c226cd2f58 ci: tweak gh_pages build/push 2020-12-09 22:47:57 -08:00
Wez Furlong
35880cf4b1 docs: maybe fix pages build 2020-12-09 15:58:14 -08:00
Wez Furlong
7aa65fef80 docs: update pages workflow 2020-12-09 14:11:42 -08:00
Wez Furlong
7018720d97 docs: centralize doc building logic to ci script 2020-05-03 16:28:12 -07:00
Wez Furlong
912af724f9 docs: add js fixup to the deploy action too 2020-04-06 17:47:57 -07:00
Wez Furlong
8485e5db0c docs: maybe do a better job at caching mdbook 2019-12-30 15:12:51 -08:00
Wez Furlong
e364191058 docs: Ensure that we fetch release info on each build 2019-12-29 22:37:06 -08:00
Wez Furlong
eb3588726c cache the mdbook binary itself 2019-12-29 22:35:13 -08:00
Wez Furlong
fdf4c4ca3f fix pages.yml syntax 2019-12-29 22:26:47 -08:00
Wez Furlong
dec2653373 Rebuild and deploy the docs hourly 2019-12-29 22:22:14 -08:00
Wez Furlong
8f5802bf7e Add workflow to build GH pages on pushes to master 2019-12-29 21:55:40 -08:00