Qi Xiao
16164f413f
Disable CGo in check-rellinks.
2021-11-29 21:28:34 +00:00
Qi Xiao
f3dd676ead
Try running check-rellinks as root
2021-11-29 21:26:41 +00:00
Qi Xiao
e9b3a4c800
Add missing sudo
2021-11-29 21:18:47 +00:00
Qi Xiao
113c4dee9c
Fix permission of /go in check-rellinks
2021-11-29 21:17:35 +00:00
Qi Xiao
d94779da33
Try workaround of specifying "--user 1001" in check-rellinks.
...
https://github.com/actions/checkout/issues/211#issuecomment-680107607
2021-11-29 20:55:12 +00:00
Qi Xiao
22981175db
Inspect the content of github workspace
2021-11-29 20:51:42 +00:00
Qi Xiao
383e2bf718
Try to fix workspace setup in check-rellinks
2021-11-29 20:47:20 +00:00
Qi Xiao
e060a6842a
Use "shell: sh" to the check-rellinks step.
2021-11-29 20:44:03 +00:00
Qi Xiao
9bebf437ff
Set up workspace dir in check-rellinks
2021-11-29 20:40:26 +00:00
Qi Xiao
697f038d3d
Try using the elves/up image for check-rellinks.
2021-11-29 20:23:30 +00:00
Qi Xiao
9f3204966d
Add a missing sudo when installing pandoc
2021-11-29 20:17:47 +00:00
Qi Xiao
927a4fff1e
Install pandoc in the check-rellinks workflow.
2021-11-29 20:15:00 +00:00
Qi Xiao
ce7c4e5095
Add step to set up Go when checking relative links.
...
The workflow requires building the website, which requires an up-to-date version of Go.
2021-11-29 20:09:56 +00:00
Qi Xiao
4578732c9c
Check relative links as part of the CI.
2021-11-29 20:06:12 +00:00
Qi Xiao
388ac81a8c
Only run the check_website action when pushing to master.
2021-11-22 12:34:21 +00:00
Qi Xiao
7446c60af4
check_website.yml: Check cdg.elv.sh and hkg.elv.sh
...
The latter will be used later to be the APAC backend for elv.sh, and is now
building website on each commit.
2021-10-09 23:53:19 +01:00
Qi Xiao
d5f662485d
Update website checking script.
...
- Add sleep between checks
- Add output when check succeeds
2021-10-09 22:57:04 +01:00
Qi Xiao
973752cf5a
Add GitHub Action to check website is updated within 30 minutes.
2021-10-09 22:54:30 +01:00
Qi Xiao
371695f07b
Merge the SourceGraph LSIF workflow into the CI workflow.
2021-10-01 22:24:51 +01:00
Qi Xiao
1869cd5f35
Revert "Revert "Require Go >= 1.16.""
...
Elvish now builds cleanly with Go 1.17.
This reverts commit 066f23d04f
.
2021-08-23 00:23:55 +01:00
Qi Xiao
066f23d04f
Revert "Require Go >= 1.16."
...
Running test and vet with Go 1.17 has uncovered some issues, which breaks CI.
This change will be rolled forward after I have a local Go 1.17 environment and
fix those issues.
This reverts commit 9afb84e4fd
.
2021-08-22 23:40:48 +01:00
Qi Xiao
4b34485cc1
Document use of codespell and pin the version in GitHub Actions.
...
Also move list of ignored words into .codespellrc so that the list is shared
between GitHub Actions and local runs.
2021-08-22 23:24:39 +01:00
Qi Xiao
9afb84e4fd
Require Go >= 1.16.
2021-08-22 23:07:54 +01:00
Shengjing Zhu
5724ec4c47
Fix typos and add codespell to CI
2021-08-22 23:07:34 +01:00
Qi Xiao
c849d83164
Fix test of website/cmd/elvdoc, and add it to CI and the test target.
...
The website directory is a separate Go module, so it's not included by ./... and
tests there have to be run explicitly.
2021-08-21 16:51:19 +01:00
Qi Xiao
66fa3d6e88
Skip normal tests in the benchmar workflow of GitHub Actions.
2021-08-06 23:49:50 +01:00
Qi Xiao
8077c8bb85
Fix ci.yml
2021-08-01 21:58:00 +01:00
Qi Xiao
9442d4b6f6
Add benchmark running to GitHub Actions.
2021-08-01 21:43:52 +01:00
Qi Xiao
8f18fafde9
Fix Go version in GitHub Actions config.
2021-07-08 00:17:55 +01:00
Qi Xiao
671c76be00
Add a lint Makefile target and CI task.
...
Both run staticcheck and go vet (but not golint).
Also make some small changes necessary to make the codebase lint-free under
staticcheck.
2021-07-08 00:13:38 +01:00
Qi Xiao
4052789230
Add a vet target to Makefile, and a vet job to GitHub CI.
2021-07-03 20:38:49 +01:00
Qi Xiao
92ce3388ea
Bump the version of prettier to 2.3.1.
...
This hasn't resulted in any file changes.
2021-06-15 17:41:29 +01:00
Qi Xiao
798ab42a30
Tweak the sourcegraph action.
2021-02-21 23:51:08 +00:00
Qi Xiao
878590f2b0
Upload sourcegraph index in GitHub Action.
2021-02-21 23:48:42 +00:00
Qi Xiao
a6f1a7bdd0
Require Go >= 1.15.0 to build.
2021-02-17 22:40:35 +00:00
Qi Xiao
3df3f8936c
Only notify failed Cirrus CI runs
2021-02-11 01:18:26 +00:00
Qi Xiao
245d72c3d5
GitHub Actions tweaks ( #1233 )
2021-02-11 00:35:49 +00:00
Qi Xiao
effe5bccbf
Add GitHub Action to send email for Cirrus CI failures
2021-02-11 00:17:10 +00:00
Qi Xiao
075d65febc
Use GitHub Actions for CI ( #1232 )
...
Use GitHub Actions for everything except testing on gccgo and FreeBSD (which still use CirrusCI).
2021-02-10 23:41:17 +00:00