53 Commits

Author SHA1 Message Date
Galantsev, Dmitrii
4a8824c10e Fix bad code block formatting in docs
I noticed that
<https://sw.kovidgoyal.net/kitty/conf/#opt-kitty.text_fg_override_threshold>
said ':code:` ratio`' instead of being formatted as code. I assume
that's because of a space after `.

Fixed 2 cases where I found the issue.
Added a simple code block check to CI.

Signed-off-by: Galantsev, Dmitrii <dmitrii.galantsev@amd.com>
2025-03-30 17:48:12 -05:00
Kovid Goyal
9e1601a9b5 Nicer way to include grapheme test data in Go tests 2025-03-27 03:20:27 +05:30
Kovid Goyal
e76daa3736 Fix failing go vet in CI 2025-03-27 02:51:26 +05:30
Kovid Goyal
c32e7ce7ab Remove git credentials after checkout 2025-02-24 12:00:58 +05:30
Kovid Goyal
cad319a3c7 Bump minimum python version to 3.10
3.9 is EOL in a few months and I am tired of typing Optional
2025-01-07 12:07:01 +05:30
Kovid Goyal
8b8c7ccfa0 Update before install 2024-12-12 10:40:49 +05:30
Kovid Goyal
3964e9e9ef Run bencmark on macOS as well 2024-11-28 22:25:52 +05:30
Kovid Goyal
524fb0a9c9 Run benchmark script in Linux CI 2024-11-28 21:56:21 +05:30
Kovid Goyal
63df210707 Add a test for ./dev.sh to CI 2024-09-29 21:44:35 +05:30
Kovid Goyal
68b6db4b61 Bump minimum python version to 3.9
3.8 is almost EOL will be in a month or so
2024-07-27 00:07:17 +05:30
Kovid Goyal
1669e099dc Needed for typing.NotRequired 2024-06-24 07:54:12 +05:30
Kovid Goyal
98624d614e Dont use deprecated ruff invocation syntax 2024-05-14 20:37:25 +05:30
Kovid Goyal
adda3249f5 Lets see if sanitize works 2024-03-21 21:00:58 +05:30
Kovid Goyal
f5570c38dd Turn off sanitizers in CI as they are segfaulting
Trying to debug this in CI is too much work. Hopefully whatever
update in the CI env that is causing these will eventually be fixed.
2024-03-14 18:37:19 +05:30
Kovid Goyal
1712a317d5 ... 2024-03-14 16:38:19 +05:30
Kovid Goyal
d006ba504f Use a separate cache for the job that builds static kittens 2023-08-16 14:09:51 +05:30
Kovid Goyal
ebbb8e4a09 The github setup-go action now supports caching out of the box 2023-08-16 12:02:32 +05:30
Kovid Goyal
0ba5f20902 CI: See if we can cache golang build artifacts 2023-08-11 09:17:05 +05:30
Kovid Goyal
3687694d0d Make building of static kittens the last step in CI
It is the least likely to fail and also the longest to execute
2023-08-11 08:48:19 +05:30
pagedown
d1e54a1d3b CI: Bump versions of the deprecated github actions to the latest 2023-02-11 20:33:29 +08:00
pagedown
3c7df680cf Get go version from go.mod
No need to update multiple places when bumping the go version.
2023-02-11 20:33:08 +08:00
Kovid Goyal
27ae9104ac Bump required Go version to 1.20
This allows us to use the stdlib for ECDH crypto used by remote control.
Fixes #5976
2023-02-03 09:32:56 +05:30
Kovid Goyal
f15d27bb62 Use ruff on CI 2023-01-09 15:55:45 +05:30
Kovid Goyal
77a3916f6f We need go >= 1.19 2023-01-05 19:41:42 +05:30
Kovid Goyal
c03af4d294 Build static binaries on CI 2022-11-15 15:07:33 +05:30
Kovid Goyal
2e07f90baf ... 2022-11-14 15:42:07 +05:30
Kovid Goyal
d6f42a11d7 Run go vet on CI 2022-11-14 15:42:00 +05:30
Kovid Goyal
d0e133885c Install Go 1.18 on CI 2022-11-14 15:42:00 +05:30
Kovid Goyal
f90753c69b Use whatever version of go is available on CI 2022-11-14 15:41:46 +05:30
Kovid Goyal
1429be3a19 Run gofmt via python, easier to debug 2022-11-14 15:41:44 +05:30
Kovid Goyal
2ea3fa36d2 ... 2022-11-14 15:41:44 +05:30
Kovid Goyal
2fd013b593 Add source code linting for go to CI 2022-11-14 15:41:44 +05:30
Kovid Goyal
cea9ff30dc Add the go dependency to CI and Brewfile 2022-11-14 15:41:44 +05:30
Kovid Goyal
dea3df66f8 system python appears broken on macos-latest image
The pip scripts install directory is not on PATH
2022-11-03 13:05:03 +05:30
Kovid Goyal
ec80a1532c Try to make mypy happy with the contortions needed for importlib.resources 2022-11-03 12:41:13 +05:30
Alex
5c82f4beca build: harden ci.yml permissions
Signed-off-by: Alex <aleksandrosansan@gmail.com>
2022-09-23 22:14:57 +02:00
Kovid Goyal
2bb42e67d7 We have to build docs to test building of package now 2022-08-19 13:51:35 +05:30
Kovid Goyal
b0666c9180 test.py now needs kitty built 2022-07-13 20:00:54 +05:30
Kovid Goyal
57d3d09679 DRYer 2022-07-13 19:49:40 +05:30
Kovid Goyal
7b91447d89 Use a full chekcout in CI when building docs
The :commit: docs role requires it
2022-06-04 08:00:00 +05:30
Kovid Goyal
581c388838 ... 2022-05-29 15:02:37 +05:30
Kovid Goyal
7a63ea6480 Drop python 3.7 from CI 2022-05-29 14:54:51 +05:30
Kovid Goyal
a4f1caeb4e Missed a couple of actions invocations 2022-04-01 07:31:10 +05:30
Kovid Goyal
45de091ee6 Use versioned actions as master for setup-python is currently broken 2022-04-01 07:19:41 +05:30
Kovid Goyal
e914f0df8e Make FAIL_WARN a boolean 2022-01-23 10:12:11 +05:30
Kovid Goyal
f0e8ab8f31 Drop support for python 3.6
It is being EOLed next month (https://www.python.org/dev/peps/pep-0494/)
which is when I expect the next kitty release as well
2021-11-18 22:44:41 +05:30
Kovid Goyal
f787a377c3 A new theme for the kitty website
Supports dark mode. Also re-organize the documentation
a bit, making it more hierarchical.

Have a nicer landing page
2021-07-18 13:29:33 +05:30
Kovid Goyal
fc99d4d757 Specify the type of files to make mypy happy (I hope) 2021-06-09 08:24:36 +05:30
Kovid Goyal
7fb2b21a22 Also needs types for docutils 2021-06-09 08:18:04 +05:30
Kovid Goyal
260b300da9 Now mypy wants types for requests installed 2021-06-09 08:14:02 +05:30