Граф коммитов

550 Коммитов

Автор SHA1 Сообщение Дата
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 d152ac677c, "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
Takashi Kokubun 1ad1f07306
Fix a broken Slack notification
The matrix doesn't have `os`.
2022-09-21 13:38:46 +09:00
卜部昌平 45482fea3c LLVM 15 released
See https://discourse.llvm.org/t/llvm-15-0-0-release/65099
2022-09-21 11:44:09 +09:00
Takashi Kokubun f8dad616c2
YJIT: Show --yjit-stats of railsbench on CI (#6403)
* YJIT: Show --yjit-stats of railsbench on CI

* YJIT: Use --enable-yjit=dev to see ratio_in_yjit

* YJIT: Show master GitHub URL for quick comparison

* YJIT: Avoid making CI red by a yjit-bench failure
2022-09-20 06:07:28 +09:00
Nobuyoshi Nakada d152ac677c
Make CodeQL ignore syntax_suggest because of the performance problem
https://github.com/github/codeql/discussions/10120#discussioncomment-3485880
2022-09-15 10:25:11 +09:00
Takashi Kokubun 6a78ae2fe2
Remove CODEOWNERS to switch to auto-request-review (#6365)
* Remove CODEOWNERS to switch to auto-request-review

* Random change to test reviews

* Revert "Random change to test reviews"

This reverts commit 814b10d062d82d953019ea4afadc3f8fcf638379.
2022-09-14 07:21:19 +09:00
Takashi Kokubun 391eebfe69
Increase the timeout for make all on MinGW
https://github.com/ruby/ruby/actions/runs/3041702828/jobs/4899106526#step:14:1219
2022-09-13 10:48:32 +09:00
Takashi Kokubun 2e21fef6a4
Drop synchronized event
because it doesn't seem to be working. It's a bit annoying that
synchronized doesn't work, but in many cases, opened and
ready_for_review should be enough. As a last resort, you could
close/reopen it.

Also, the token scope needs to be public_repo instead of repo:status.
2022-09-13 10:38:11 +09:00