Aire-One
4a140ea5ea
Revert "fix(ldoc): set `format` to "markdown" ( #3500 )" ( #3704 )
...
This reverts commit 8d5c74fae3
.
2022-09-22 22:53:53 -07:00
Emmanuel Lepage Vallée
4f086e58fc
Merge pull request #3701 from sashashura/patch-1
...
GitHub Workflows security hardening
2022-09-22 22:53:36 -07:00
Alex
76edd69587
Update apidoc.yml
...
Remove write permission as not needed
2022-09-20 20:13:12 +01:00
Alex
00b1ad5b45
build: harden apidoc.yml permissions
...
Signed-off-by: Alex <aleksandrosansan@gmail.com>
2022-09-20 14:24:00 +02:00
Alex
b602d42073
build: harden main.yml permissions
...
Signed-off-by: Alex <aleksandrosansan@gmail.com>
2022-09-20 14:21:14 +02:00
Aire-One
8d5c74fae3
fix(ldoc): set `format` to "markdown" ( #3500 )
...
The CI currently doesn't install (correctly?) the "discount" formatter,
so ldoc fallbacks to the default "markdown" formatter. However, if we
try to install the discount or lua-discount, the doc rendering is
slightly different from what we currently have.
All of this was already mentioned in the issue "Generate apidoc doesn't
use the discount markdown formatter #3500 ".
This change removes the configuration in the `config.ld` file, so we
don't have the "format: using built-in markdown" message any longer in
in the CI logs.
Note that I also removed the lua-discount installation from the
`apidoc.yml` workflow, since it wasn't working. (I guess it installs the lua
package for a different version of lua than the one used by ldoc)
2022-09-18 18:40:52 +02:00
Actionless Loveless
86f67f4e08
fix(gh-actions): s/git_url/clone_url/g ( #3593 )
2022-03-20 18:56:13 +01:00
Aire-One
392dbc21ab
[CI] Run `Run examples tests` on every supported Lua Version ( #3575 )
...
* ci(main) always run `Run examples tests`
* fix(font1) print with string.format
2022-03-06 14:04:50 +01:00
Aire-One
d0b9938da1
fix(gh-actions) LGI install to Lua 5.4 location
2022-01-22 17:48:22 +01:00
Aire-One
c330413c21
fix(gh-actions) Lua 5.4 lib
2022-01-22 17:48:08 +01:00
Aire-One
a826d79682
bump(gh-actions) luarocks 3.8.0
...
Luarocks have some fixes to support Lua 5.4. We need to use the
latest version.
2022-01-22 15:40:09 +01:00
Aire-One
a4ca3fdd43
add(gh-actions) Lua5.4 Build and Install LGI step
...
The latest packaged version of LGI doesn't support Lua 5.4. We need
to build the git master version.
2022-01-22 15:40:09 +01:00
Aire-One
50c3301357
add(gh-actions) Build and Install Lua 5.4 step
...
Ubuntu 20.04 hasn't a Lua 5.4 package. For now, GitHub actions run
with this version of Ubuntu. We can manually build and install
Lua 5.4 in the pipeline, waiting for GitHub to release a newer
version of Ubuntu for their Actions.
2022-01-22 15:40:09 +01:00
Aire-One
b6b9a770a3
add(gh-actions) Lua 5.4 matrix
2022-01-22 15:40:09 +01:00
Emmanuel Lepage Vallée
062ecfb6f0
Merge pull request #3490 from Elv13/less_flacky_tests
...
Less flacky tests
2021-11-13 00:42:18 -08:00
Emmanuel Lepage Vallee
6e8b0d5a85
ci: Be faster.
2021-10-31 13:37:33 -07:00
Emmanuel Lepage Vallee
cbf62c5b2d
ci: Add some font packages.
...
Make sure the new example work.
2021-10-30 22:43:21 -07:00
Emmanuel Lepage Vallée
9595dc38d2
Remove coveralls. ( #3486 )
...
It's inferior to codecov and I am not aware of anyone who will miss
it.
2021-10-28 12:24:59 -07:00
Lucas Schwiderski
d755d9add3
ci: Fix the debug messages.
2021-10-04 18:19:52 -07:00
Emmanuel Lepage Vallee
30eb441f3a
ci: Change the API doc token name.
...
@blueyed added the old token used by Travis and it is called
"AWESOME_ROBOT_TOKEN"
2021-10-04 10:27:55 -07:00
Lucas Schwiderski
4b6d7fd241
bug(github_actions): Fix logging failed commits
...
Signed-off-by: Lucas Schwiderski <lucas@lschwiderski.de>
2021-09-19 15:11:26 +02:00
Lucas Schwiderski
c12715e11f
bug(github_actions): Skip testing single previous commit
...
Due to the default of executing bash with `-e -o pipefail` this didn't
fail gracefully anymore. But an explicit check makes more sense anyways.
2021-09-19 15:02:46 +02:00
Lucas Schwiderski
f39e8d261b
Fall back to GitHub's token for coveralls
...
Signed-off-by: Lucas Schwiderski <lucas@lschwiderski.de>
2021-09-11 14:03:11 +02:00
Lucas Schwiderski
cc882585de
Fix test for previous commits
...
Signed-off-by: Lucas Schwiderski <lucas@lschwiderski.de>
2021-09-11 13:47:48 +02:00
Lucas Schwiderski
4d83228f00
bug(github_actions): Fix date for apidoc examples.
...
Signed-off-by: Lucas Schwiderski <lucas@lschwiderski.de>
2021-05-08 22:10:05 +02:00
Lucas Schwiderski
1867ab057c
feat(github_actions): Use tag to pin xcb-errors
...
Signed-off-by: Lucas Schwiderski <lucas@lschwiderski.de>
2021-05-08 22:10:04 +02:00
Lucas Schwiderski
6a3713a090
feat(github_actions): Install lua-discount
...
Signed-off-by: Lucas Schwiderski <lucas@lschwiderski.de>
2021-05-06 20:05:05 +02:00
Lucas Schwiderski
857b7199d6
feat(github_actions): Improve readability
...
Signed-off-by: Lucas Schwiderski <lucas@lschwiderski.de>
2021-05-06 20:05:03 +02:00
Lucas Schwiderski
8334f9c1b1
feat(github_actions): Improve logs
...
Signed-off-by: Lucas Schwiderski <lucas@lschwiderski.de>
2021-05-06 20:05:01 +02:00
Lucas Schwiderski
717d09aa94
feat(github_actions): Move xcb-errors commit ID to envvar
...
Signed-off-by: Lucas Schwiderski <lucas@lschwiderski.de>
2021-05-06 20:05:00 +02:00
Lucas Schwiderski
645156b3c0
feat(github_actions): Consolidate apt cache directory
...
Signed-off-by: Lucas Schwiderski <lucas@lschwiderski.de>
2021-05-06 20:04:59 +02:00
Lucas Schwiderski
9bc8c28c90
chore(github_actions): Clean up variables and expressions
...
Signed-off-by: Lucas Schwiderski <lucas@lschwiderski.de>
2021-05-06 20:04:58 +02:00
Lucas Schwiderski
33ee8c09ba
fix(github_actions): Remove redundant job matrix definitions
...
Signed-off-by: Lucas Schwiderski <lucas@lschwiderski.de>
2021-05-06 20:04:57 +02:00
Lucas Schwiderski
87b717495f
fix(github_actions): Add modelines
...
Signed-off-by: Lucas Schwiderski <lucas@lschwiderski.de>
2021-05-06 20:04:56 +02:00
Lucas Schwiderski
f74a838506
feat(github_actions): Add workflow to update API docs
...
Signed-off-by: Lucas Schwiderski <lucas@lschwiderski.de>
2021-05-06 20:04:55 +02:00
Lucas Schwiderski
674ee00437
feat(github_actions): Unify Lua code coverage uploads
...
From testing it seems that uploading after individual tests has no
benefit over one upload at the end.
Signed-off-by: Lucas Schwiderski <lucas@lschwiderski.de>
2021-05-06 20:04:54 +02:00
Lucas Schwiderski
3fbcfc8553
feat(github_actions): Drop support for old LGI version
...
Signed-off-by: Lucas Schwiderski <lucas@lschwiderski.de>
2021-05-06 20:04:53 +02:00
Lucas Schwiderski
8f39fb61bd
feat(github_actions): Add initial workflow
...
Signed-off-by: Lucas Schwiderski <lucas@lschwiderski.de>
2021-05-06 20:01:21 +02:00