Commit graph

138 commits

Author SHA1 Message Date
ObserverOfTime
eb09d5757c ci(dependabot): improve PR labels 2024-04-12 16:01:47 -04:00
dundargoc
a1c39d4760 ci: simplify workflows 2024-03-16 19:54:54 -04:00
dependabot[bot]
2e596e379e ci: bump the actions group with 1 update
Bumps the actions group with 1 update: [softprops/action-gh-release](https://github.com/softprops/action-gh-release).


Updates `softprops/action-gh-release` from 1 to 2
- [Release notes](https://github.com/softprops/action-gh-release/releases)
- [Changelog](https://github.com/softprops/action-gh-release/blob/master/CHANGELOG.md)
- [Commits](https://github.com/softprops/action-gh-release/compare/v1...v2)

---
updated-dependencies:
- dependency-name: softprops/action-gh-release
  dependency-type: direct:production
  update-type: version-update:semver-major
  dependency-group: actions
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-03-12 01:45:19 -04:00
dundargoc
6ef5236ea6 ci(dependabot): update weekly instead of daily
Daily updates turned out to be too frequent.
2024-02-29 14:27:08 +01:00
Christian Clason
59838de33a ci: don't skip tests on failing lint
Problem: A failing lint will block running actual tests, adding friction to contributors who will have to golf the linter before getting to see actually useful test results.

Solution: Don't gate `sanitize` and `build` behind successful `checks` so you can see whether your code works at all _before_ worrying about its quality. (In general, the more feedback you get at the same time, the fewer edit->push->test cycles you need, _saving_ CI time in the long run. Only skip tests you are sure to be useless given previous failures.)
2024-02-28 16:31:21 +01:00
dundargoc
52d69790f3 ci: adjust dependabot settings
- always bump cargo dependencies
- create single PR for all dependencies
- run it daily
2024-02-26 09:26:32 -05:00
Amaan Qureshi
4e2880407c feat: add xtasks to assist with bumping crates 2024-02-25 13:40:03 -05:00
Amaan Qureshi
591a10de33
ci: remove hotfix 2024-02-21 15:37:31 -05:00
Amaan Qureshi
4408c1570e
fix: publish in the right order now 2024-02-21 15:24:47 -05:00
Amaan Qureshi
a5b7c2a584
fix: publish 0.21.0 to registries 2024-02-21 15:11:37 -05:00
dundargoc
aa29571d98 ci(sanitize): reduce timeout to 20 minutes
60 minutes is too long, even without any caching. It should at most take
10 minutes, but we add another 10 to account for any variance.
2024-02-20 20:35:56 +01:00
dundargoc
d54aa11cc3 ci: relax caching requirements
Specifically, ignore changes in workflow files. While it is technically
more correct to include them (as they may affect the caching), it is
unlikely.
2024-02-20 14:37:29 +01:00
dundargoc
a994562121 ci: don't cancel jobs on master
It can be useful to see the full results of all master commits when
trying to bisect a regression.
2024-02-20 14:10:42 +01:00
dundargoc
d4067a6ae6 ci: cache fixtures
Only generate fixtures if any grammar from any parser or the parser
generation itself has changed.
2024-02-18 23:08:24 +01:00
dundargoc
657d2b9c48 ci: remove reviewers when drafting or closing a PR 2024-02-15 15:39:39 +01:00
dundargoc
9319e28bcc ci(sanitize): add a timeout of 60 minutes
There's a possibility of the test freezing so we add this as precaution.
2024-02-14 17:32:49 +01:00
Amaan Qureshi
0afa891ffc ci: use the native m1 mac runner 2024-02-11 01:59:56 -05:00
dundargoc
77d7843b7b ci: remove minimum glibc information in summary page
It clutters up the page with unnecessary information. This information
can be provided as release notes or another form if needed.
2024-02-10 18:50:12 +01:00
dundargoc
8759352542 build: add useful development targets to makefile 2024-02-09 13:19:28 +01:00
dundargoc
95b08f107a docs: create issue template
This will help enforce a minimum amount of necessary information, and
also help with automatic labeling.
2024-02-09 12:34:18 +01:00
dundargoc
38cb60ccda ci: only create release for normal semver tags
We don't need releases for pre-releases.
2024-02-09 10:56:15 +01:00
dundargoc
5f63074057 ci: introduce "response bot"
It's basically a bot that closes issues or PRs if the author hasn't
responded after 30 days. This is only done on issues/PRs that has the
`more-information-needed` label and is meant to be used for issues that
has hit a dead-end and cannot progress without further information from
the author. If the author responds after an issue is closed and gives
more context the issue can simply be reopened.
2024-02-07 16:26:24 +01:00
Amaan Qureshi
032a1089fd
Merge pull request #2936 from dundargoc/ci/release
ci: rework release strategy
2024-02-06 23:42:59 -05:00
dundargoc
c8bd6705cf
chore: clippy 2024-02-06 23:34:14 -05:00
dundargoc
c3ab70cc98 ci: rework release strategy
Switch the release trigger from PR to a git tag. In practice this would
mean tagging a commit in master branch and pushing it with
`git push --tags`.

The benefit of this is that tagging is already an event that is reserved
for maintainers, so we can remove the need for verifying whether the
event was done by a maintainer.

We also no longer need to keep track of the tag. Previously the trigger
was a PR which has a different ref from the tag, so manual bookkeeping
was required to ensure github used the tag reference instead of the PR
reference. Having the tagging itself be the trigger removes this need
entirely as the default checkout will already use the tag as reference.
2024-02-06 14:48:50 +01:00
dundargoc
9d8e31bf9f ci: add timeout to build.yml
This will abort the run early if it gets caught in an infinite loop
during testing.
2024-02-05 23:19:36 +01:00
Amaan Qureshi
59e64d74fe
Merge pull request #2925 from dundargoc/ci/workflow
ci: remove workflow_dispatch from build.yml
2024-02-05 14:58:02 -05:00
dundargoc
2003d23518 ci: include cargo packages to dependabot 2024-02-05 20:20:20 +01:00
dundargoc
7b0b2464cd ci: remove workflow_dispatch from build.yml
The cases where you'd need to manually run tests with specific
parameters should be rare.
2024-02-05 20:15:56 +01:00
dundargoc
fdd0e21041 ci: add caching to build.yml 2024-02-05 00:52:18 +01:00
Amaan Qureshi
dd2dc236c4
Merge pull request #2909 from tree-sitter/dependabot/github_actions/mymindstorm/setup-emsdk-14
ci: bump mymindstorm/setup-emsdk from 12 to 14
2024-02-04 13:24:03 -05:00
Amaan Qureshi
e86cb85c81
Merge pull request #2917 from dundargoc/ci/cache
ci(checks): use rust-cache action to cache dependencies
2024-02-04 13:10:07 -05:00
Amaan Qureshi
ff53f54e53
Merge pull request #2918 from dundargoc/ci/publish
ci: add workflow_dispatch event to publish
2024-02-04 13:09:41 -05:00
Amaan Qureshi
887d48ab4a
Merge pull request #2921 from dundargoc/ci/concurrency
ci: simplify concurrency
2024-02-04 13:07:50 -05:00
dundargoc
26fbe78f20 ci: simplify concurrency 2024-02-04 18:03:58 +01:00
dundargoc
003521895d ci(checks): use rust-cache action to cache dependencies 2024-02-04 17:31:14 +01:00
dundargoc
34682fa8d2 ci: add clippy 2024-02-04 17:22:32 +01:00
dundargoc
f8e6ddf945 ci: add workflow_dispatch event to publish
This allows manual publishing in case the automatic publishing fails for
some reason.
2024-02-04 15:46:58 +01:00
Amaan Qureshi
72a75326f7
Merge pull request #2910 from tree-sitter/dependabot/github_actions/actions/checkout-4
ci: bump actions/checkout from 3 to 4
2024-02-04 05:03:09 -05:00
dependabot[bot]
98f3ecc9d6
ci: bump mymindstorm/setup-emsdk from 12 to 14
Bumps [mymindstorm/setup-emsdk](https://github.com/mymindstorm/setup-emsdk) from 12 to 14.
- [Release notes](https://github.com/mymindstorm/setup-emsdk/releases)
- [Commits](https://github.com/mymindstorm/setup-emsdk/compare/v12...v14)

---
updated-dependencies:
- dependency-name: mymindstorm/setup-emsdk
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-02-04 10:03:00 +00:00
Amaan Qureshi
5478ced3b5
Merge pull request #2908 from tree-sitter/dependabot/github_actions/actions/upload-artifact-4
ci: bump actions/upload-artifact from 3 to 4
2024-02-04 05:02:05 -05:00
Amaan Qureshi
8bb98dfdc2
Merge pull request #2914 from amaanq/clippy-pt2
chore: apply clippy fixes
2024-02-04 05:00:44 -05:00
Amaan Qureshi
55afb4efaf
ci: remove unnecessary targets 2024-02-04 04:19:09 -05:00
Amaan Qureshi
03aa007847
Merge pull request #2907 from tree-sitter/dependabot/github_actions/actions/download-artifact-4
ci: bump actions/download-artifact from 3 to 4
2024-02-03 22:36:58 -05:00
dependabot[bot]
12b3567092
ci: bump actions/checkout from 3 to 4
Bumps [actions/checkout](https://github.com/actions/checkout) from 3 to 4.
- [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/v3...v4)

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-02-04 03:23:58 +00:00
Amaan Qureshi
2957ce9497
Merge pull request #2911 from dundargoc/ci/publish
ci: deduplicate publish workflow
2024-02-03 22:23:20 -05:00
dundargoc
67bc1e37c3 ci: deduplicate publish workflow 2024-02-04 00:21:34 +01:00
dependabot[bot]
1b333603c7
ci: bump actions/upload-artifact from 3 to 4
Bumps [actions/upload-artifact](https://github.com/actions/upload-artifact) from 3 to 4.
- [Release notes](https://github.com/actions/upload-artifact/releases)
- [Commits](https://github.com/actions/upload-artifact/compare/v3...v4)

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-02-03 23:16:33 +00:00
dependabot[bot]
a9a552a4b2
ci: bump actions/download-artifact from 3 to 4
Bumps [actions/download-artifact](https://github.com/actions/download-artifact) from 3 to 4.
- [Release notes](https://github.com/actions/download-artifact/releases)
- [Commits](https://github.com/actions/download-artifact/compare/v3...v4)

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-02-03 23:16:30 +00:00
dundargoc
f91050c8c0 ci: add dependabot for automatic actions updates 2024-02-04 00:04:20 +01:00