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
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
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
dfb2bd97d4
ci: remove msrv.yml workflow as it's not really used
...
If it does become relevant to actually implement this is can be done at
that time. Having a non-functional stub isn't useful.
2024-02-03 11:25:14 +01:00
dundargoc
b122c59ca3
ci: merge fast_checks into full_rust_checks
...
It's not necessary to have two separate linting workflows as the full
lints themselves are very quick.
2024-02-02 23:45:33 +01:00
Max Brunsfeld
1d8975319c
Merge pull request #2840 from tree-sitter/language-reference-count
...
Introduce APIs for managing the lifetimes of languages, allow WASM languages to be deleted
2024-01-30 10:24:37 -08:00
Amaan Qureshi
98be227227
0.20.9
2024-01-25 15:05:17 -05:00
Max Brunsfeld
bfb966e2e0
Enable wasm feature when running tests on CI
2023-12-31 10:06:03 -08:00
Max Brunsfeld
bd0796d11d
Remove mips targets from CI workflow
2023-11-24 20:06:36 -08:00
Max Brunsfeld
adb0e6958e
Only enable wasm feature on CI for supported architectures
2023-10-31 17:13:50 -07:00
Max Brunsfeld
f4e2f68f14
Merge branch 'master' into wasm-language
2023-10-27 12:11:43 +01:00
Andrew Hlynskyi
a91a6cc615
cicd: disable failed linux-riscv64gc target
...
Related issue #2712
2023-10-16 16:13:40 +03:00
Andrew Hlynskyi
a9c4965dd6
cicd: exclude hang tests for exotic arches and ASAN
2023-08-28 05:39:57 +03:00
Andrew Hlynskyi
5c5de9ca61
cicd: rename runtime to platform for better clarity
2023-08-25 17:36:03 +03:00
Andrew Hlynskyi
e985d0e743
cicd: pin rust toolchain to 1.71.1 for all mips targets
2023-08-25 17:36:03 +03:00
James McCoy
545ef842de
Remove -Werror from default CFLAGS
...
Production builds shouldn't include -Werror by default since that could
cause spurious build failures when there are toolchain updates.
CI uses -Werror to prevent warnings, so that should be sufficient.
2023-08-18 14:23:19 -04:00
Andrew Hlynskyi
e9bed05c7c
chore(ci): explicitly define halt on error for ASAN detected issues
2023-08-17 18:26:08 +03:00
Amaan Qureshi
211e13d566
ci: add asan
2023-07-24 01:15:48 -04:00
Amaan Qureshi
9a05739851
fix: typo
2023-07-24 00:44:44 -04:00
Amaan Qureshi
77a8c56558
ci: add big-endian & some obscure architectures
2023-07-18 15:44:20 -04:00
Andrew Hlynskyi
e7a16ceb06
cicd: install Emscripten conditionally
2023-07-16 16:07:13 +03:00
Andrew Hlynskyi
6ab282b578
cicd: add armv7l target #1366#issuecomment-1503176694
2023-07-16 16:07:13 +03:00
Amaan Qureshi
c23ec2c3ae
ci: add more architectures
2023-07-16 05:14:11 -04:00
Amaan Qureshi
12971103f5
ci: only run release if the owner is tree-sitter
2023-07-15 21:04:42 -04:00
Andrew Hlynskyi
0c318d3468
cicd: fix ubsan deb package installation
2023-07-13 17:44:38 +03:00
Andrew Hlynskyi
010f288b3c
cicd: move branch locality checking to the release workflow
2023-05-20 04:56:39 +03:00
Andrew Hlynskyi
30dc31ff53
cicd: run tests on ready to review PRs
2023-05-20 00:53:31 +03:00