Takashi Kokubun
8b0e44214c
Fix missing variables
...
It was a bad copy-paste.
2022-12-15 10:45:41 -08:00
Takashi Kokubun
e25beac145
Enable Slack notifications on more Actions
...
auto_request_review, codeql-analysis, scorecards don't have it either,
but those are intentional.
2022-12-15 10:43:21 -08:00
Alan Wu
47a5b34aba
YJIT: Fold check-yjit-bindings into yjit-bindgen
...
So it's shorter on CI and the hint about how the fix the failure shows
up. It's going to print a diff locally too, but that should be fine.
2022-12-08 15:58:00 -05:00
Alan Wu
2ae26554de
YJIT: Add a hint for fixing "check-yjit-bindings"
...
This makes it clear what to do when the CI check
fails and should remove a few minutes of confusion
for people seeing this for the first time.
2022-12-08 15:58:00 -05:00
Nobuyoshi Nakada
c43203fd09
NEWS.md: Remove white space only lines [ci skip]
2022-12-07 19:19:26 +09:00
dependabot[bot]
8c62b36041
Bump octokit/request-action
...
Bumps [octokit/request-action](https://github.com/octokit/request-action ) from 4579f9e1e690974421f9f6928a30fb448e967c60 to 52ce92ce3185e00e2425f043c3e9509121929aea.
- [Release notes](https://github.com/octokit/request-action/releases )
- [Commits](4579f9e1e6...52ce92ce31 )
---
updated-dependencies:
- dependency-name: octokit/request-action
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <support@github.com>
2022-12-06 13:50:14 +09:00
Takashi Kokubun
b78fbfdbb4
Skip auto-request-review on fork repositories
2022-12-05 15:03:58 -08:00
Takashi Kokubun
4d39a11cd1
Change the dependabot interval to monthly
...
It's not that important for ruby/ruby to keep them up to date.
2022-12-04 21:04:50 -08:00
dependabot[bot]
d110bf9c97
Bump ruby/setup-ruby from 1.125.0 to 1.126.0
...
Bumps [ruby/setup-ruby](https://github.com/ruby/setup-ruby ) from 1.125.0 to 1.126.0.
- [Release notes](https://github.com/ruby/setup-ruby/releases )
- [Commits](de6f5b9c34...c7079efafd )
---
updated-dependencies:
- dependency-name: ruby/setup-ruby
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2022-12-05 14:03:55 +09:00
dependabot[bot]
c880625fe1
Bump github/codeql-action from 2.1.33 to 2.1.35
...
Bumps [github/codeql-action](https://github.com/github/codeql-action ) from 2.1.33 to 2.1.35.
- [Release notes](https://github.com/github/codeql-action/releases )
- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md )
- [Commits](https://github.com/github/codeql-action/compare/v2.1.33...b2a92eb56d8cb930006a1c6ed86b0782dd8a4297 )
---
updated-dependencies:
- dependency-name: github/codeql-action
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2022-12-05 14:03:37 +09:00
Maxime Chevalier-Boisvert
e9e624b76e
YJIT: check that we correctly auto-enable YJIT on Linux ( #6854 )
...
* YJIT: check that we correctly auto-enable YJIT on Linux
YJIT should be automatically built on Linux x86-64 when
rustc is present, and we should see +YJIT in the version string.
* Use miniruby rather than system ruby
2022-12-02 15:33:47 -05:00
Nobuyoshi Nakada
eb6785356d
Avoid bash specific variable substitution
...
It may cause parse errors in some other sh even in never executed
parts.
2022-12-02 23:45:43 +09:00
Nobuyoshi Nakada
817193104d
Enable to dispatch Code scanning [ci skip]
2022-11-30 20:03:54 +09:00
Hiroshi SHIBATA
8bac8772df
Added permission restrictions for GitHub actions
2022-11-28 18:28:31 +09:00
StepSecurity Bot
595f3063f0
[StepSecurity] ci: Harden GitHub Actions
...
Signed-off-by: StepSecurity Bot <bot@stepsecurity.io>
2022-11-28 11:42:40 +09:00
Takashi Kokubun
f93ae96b0e
Disable test-all on MJIT CI for now
...
https://github.com/ruby/ruby/actions/runs/3560006749/jobs/5979749144
2022-11-27 13:34:10 -08:00
Takashi Kokubun
62476dd268
Test only --mjit-wait for now
...
We've disabled MJIT CI on GitHub Actions for a while. It's convenient
that fork repositories need to see failures or disable it.
We should remove unused CI by default instead of silently disabling it.
Since I saw --mjit-wait passed on my fork, I'd like to try running
--mjit-wait one.
2022-11-27 13:12:34 -08:00
Takashi Kokubun
7cf94a611f
Allow an arbitrary number of newlines
2022-11-25 21:36:40 -08:00
Nobuyoshi Nakada
6bd86bb2af
Follow the NEWS.md change up [ci skip]
2022-11-26 13:11:24 +09:00
StepSecurity Bot
e15cd01149
[StepSecurity] ci: Harden GitHub Actions
...
Signed-off-by: StepSecurity Bot <bot@stepsecurity.io>
2022-11-25 20:12:23 +09:00
Takashi Kokubun
607fb49dbc
YJIT: Lower the required Rust version from 1.58.1 to 1.58.0 ( #6780 )
2022-11-21 10:27:39 -08:00
Takashi Kokubun
fca50abb7c
Let mjit-bindgen use BASERUBY and bundle/inline ( #6740 )
2022-11-15 23:42:41 -08:00
Takashi Kokubun
9228ae97c5
Try to let dependabot maintain the version comment
...
It seems like dependabot supports updating the `# vX.Y.Z` comment.
The reason why I disabled this was that it failed to update this, but
maybe it was because it had `, checking sha`. Let me try it again with
that removed.
2022-11-14 16:53:14 -08:00
dependabot[bot]
ea278ddd92
Bump actions/upload-artifact from 3.1.0 to 3.1.1
...
Bumps [actions/upload-artifact](https://github.com/actions/upload-artifact ) from 3.1.0 to 3.1.1.
- [Release notes](https://github.com/actions/upload-artifact/releases )
- [Commits](3cea537223...83fd05a356 )
---
updated-dependencies:
- dependency-name: actions/upload-artifact
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2022-11-14 11:54:32 +09:00
Hiroshi SHIBATA
90bbc891b1
Enable only master-branch
2022-11-11 21:12:56 +09:00
Hiroshi SHIBATA
5a1ddc486b
Test with topic-branch
2022-11-11 21:12:56 +09:00
Hiroshi SHIBATA
800caf4ee1
Use secrets.SCORECARD_READ_TOKEN
2022-11-11 21:12:56 +09:00
Hiroshi SHIBATA
a0fcbce415
Try to use ossf/scorecards
2022-11-11 21:12:56 +09:00
yui-knk
f7db1affd1
Set default %printer for NODE nterms
...
Before:
```
Reducing stack by rule 639 (line 5062):
$1 = token "integer literal" (1.0-1.1: 1)
-> $$ = nterm simple_numeric (1.0-1.1: )
```
After:
```
Reducing stack by rule 641 (line 5078):
$1 = token "integer literal" (1.0-1.1: 1)
-> $$ = nterm simple_numeric (1.0-1.1: NODE_LIT)
```
`"<*>"` is supported by Bison 2.3b (2008-05-27) or later.
https://git.savannah.gnu.org/cgit/bison.git/commit/?id=12e3584054c16ab255672c07af0ffc7bb220e8bc
Therefore developers need to install Bison 2.3b+ to build ruby from
source codes if their Bison is older.
Minimum version requirement for Bison is changed to 3.0.
See: https://bugs.ruby-lang.org/issues/19068 [Feature #19068 ]
2022-11-08 12:30:03 +09:00
Hiroshi SHIBATA
59a6caf83a
Run only daily schedule because CodeQL provides a lot of false-positive results for Ruby code
2022-11-03 07:27:11 +09:00
Nobuyoshi Nakada
0717cb8419
Try -fstack-protector-strong on MinGW
...
The CI for MinGW has used it.
2022-10-30 19:16:09 +09:00
Nobuyoshi Nakada
2821423105
Run spec_guards only when spec files changed [ci skip]
2022-10-30 17:13:15 +09:00
Takashi Kokubun
792dc553f1
YJIT: Test --yjit-verify-ctx on GitHub Actions as well ( #6639 )
2022-10-26 18:20:33 -04:00
Takashi Kokubun
a8e2d73628
Fix the url of Cirrus failure notifications [ci skip]
...
The previous one was the url of this notification action, but we want to
see a link to Cirrus CI.
This code follows https://cirrus-ci.org/guide/notifications/ .
Also, head_branch was null only for pull requests from a fork, so we can
use it for branch-based filtering, which is good.
2022-10-26 13:52:07 -07:00
Takashi Kokubun
94f3aa2126
Improve Cirrus notification metadata [ci skip]
2022-10-25 23:02:04 -07:00
Takashi Kokubun
df43611021
CI skip should not be notified [ci skip]
2022-10-25 22:49:35 -07:00
Takashi Kokubun
923aed26ff
Start notifying Cirrus CI failures
...
It looks like Cirrus doesn't natively support notifications and they
recomment to use GitHub Actions for it.
https://cirrus-ci.org/guide/notifications/
Because I don't know what the payload looks like, I just added a basic
payload and dumped GitHub context so that we could improve it later.
2022-10-25 21:50:23 -07:00
Takashi Kokubun
1dd9511b67
Use ruby/action-slack@v3.0.0 and ref_name ( #6633 )
...
It's moved from k0kubun to ruby org.
Also, we don't need JavaScript eval to generate branch if we use
github.ref_name, so v3.0.0 is a version that doesn't use eval.
Co-Authored-By: Nobuyoshi Nakada <nobu@ruby-lang.org>
Co-authored-by: Nobuyoshi Nakada <nobu@ruby-lang.org>
2022-10-25 17:53:08 -07:00
Nobuyoshi Nakada
1b235dcfd9
Ignore manual files only commits [ci skip]
2022-10-18 17:44:31 +09:00
Takashi Kokubun
b7de04d161
Disable dependabot for auto-request-review for now
...
because you have to manually update the version tag comment.
It feels unsafe to trust third party git tags when you need to pass
MATZBOT_GITHUB_TOKEN to it. Git commit sha alone isn't human-readable
and I'm reluctant to remove the comment either. It doesn't seem worth
the effort to review changes for every release of this action.
2022-10-16 22:47:49 -07:00
dependabot[bot]
bfc6c1f1cb
Bump necojackarc/auto-request-review from 0.7.0 to 0.8.0 ( #6571 )
...
Bumps [necojackarc/auto-request-review](https://github.com/necojackarc/auto-request-review ) from 0.7.0 to 0.8.0.
- [Release notes](https://github.com/necojackarc/auto-request-review/releases )
- [Commits](e08cdffa27...b5e8187645 )
---
updated-dependencies:
- dependency-name: necojackarc/auto-request-review
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-10-16 22:45:02 -07:00
Takashi Kokubun
fb6a9656a1
Do not run CodeQL on dependabot PRs
2022-10-16 22:44:15 -07:00
Nobuyoshi Nakada
ba9c0d0b9f
Allow run bundled_gems manually [ci skip]
2022-10-16 18:31:08 +09:00
Takashi Kokubun
7e24ebc649
Disable msystem: MINGW64 job on GitHub Actions ( #6545 )
2022-10-14 09:16:21 -07:00
Takashi Kokubun
43650f606e
Notify CI failures of Miscellaneous checks
2022-10-06 11:58:50 -07:00
Nobuyoshi Nakada
85fc822307
CodeQL slowness on syntax_suggest fixed at 2.10.5
...
This reverts commit d152ac677cffdbc136530dd56a56c42518d29ea4, "Make
CodeQL ignore syntax_suggest because of the performance problem".
Probably all instances seem to already have updated to 2.10.5 now.
2022-10-02 18:36:45 +09:00
Takashi Kokubun
e81a612413
Auto-generate mjit_c.rb.erb
2022-09-23 06:44:28 +09:00
Nobuyoshi Nakada
9058ba218c
Binstubs test with relative path seems passing now
2022-09-22 12:54:23 +09:00
Takashi Kokubun
2c6fdc4d65
Improve Ubuntu GitHub Actions ( #6413 )
...
Make the job names more understandable and avoid testing too many
duplicated things.
2022-09-22 00:22:21 +09:00
Takashi Kokubun
1a2ee4cfab
Try reordering test-all and test-spec for mswin CI
...
Visual Studio 2019 GitHub Actions has been super unstable. Somehow nmake
test-spec triggers rebuilding the interpreter and fails.
usa suggested a possibility of test-all leaving something impacting
test-spec. I'd like to try this patch and see what happens.
2022-09-21 22:01:20 +09:00