Commit graph

11 commits

Author SHA1 Message Date
Đoàn Trần Công Danh
d74a3950fa github/workflow: don't install git 2021-10-27 07:37:34 +07:00
Đoàn Trần Công Danh
46e6063606 CI: make lint-commits part of xlint.sh
* CI will stop whenever a step is failing.
* We always want to enforce commit message lint
* `xlint` is reporting some false positive for license with " WITH "

Let's make the lint-commits part of xlint.sh
2021-05-31 17:47:56 +07:00
Piotr Wójcik
d06bb7e98f workflows: fetch xbps for lint step 2021-05-27 21:18:38 +02:00
Đoàn Trần Công Danh
1f07584a66 common: add basic commit lint
Warn if:
* subject is longer than 50 characters

Error if:
* any lines are longer than 80 characters except it's footnotes
* second line is not blank
2021-05-21 15:56:44 +07:00
Michael Aldridge
770367e193 .github/workflows: Pull masterdirs from ghcr 2021-03-15 16:04:13 -07:00
Érico Rolim
9d64f0940e .github/workflows: shorten step list.
This makes CI results more concise.
2021-01-03 18:55:15 -03:00
Érico Rolim
b6e7863cbd .github/workflows: add script to check that packages can still be
installed.

This will allow us to confirm the repository's staging state in CI.
2020-12-23 16:14:53 -03:00
Érico Rolim
d946fe791d .github/workflows: run tests on CI for native builds.
Also:
- fix "list contents" step by adding a fetch-xtools step.
- remove git from masterdir to not interfere with builds (thanks @sgn)
2020-12-14 00:18:04 -03:00
Đoàn Trần Công Danh
7dd89d0df3 GitHub Action: install xtools for "show files" step 2020-12-14 08:17:44 +07:00
Érico Rolim
55f0c47176 .github/workflows/build: don't skip CI when PR is a draft.
When a PR is marked as ready for review (no longer a draft), CI isn't
re-run automatically, so no tests are run until the PR is updated. Even
trying to manually re-run the jobs doesn't fix this, since GH appears to
remember the PR state instead of using the current one.
2020-11-22 21:56:19 -03:00
Érico Rolim
d97410a07a .github/workflows: add build.yaml.
This commit enables CI on GitHub Actions.

Taken from nilium's repository:

e9bf829752/.github/workflows/build.yaml

Plus a few changes:

- only run CI on PRs
- don't run CI on draft PRs or when a PR title or body contains "[ci skip]"
- remove some names
- use more recent void containers
- fix XBPS self update
2020-11-13 19:33:25 -03:00