mirror of
https://github.com/ruby/ruby.git
synced 2025-08-15 13:39:04 +02:00
Update actions/checkout and actions/cache and others
This commit is contained in:
parent
d6517a3dde
commit
977d711ba1
16 changed files with 51 additions and 51 deletions
2
.github/workflows/auto_request_review.yml
vendored
2
.github/workflows/auto_request_review.yml
vendored
|
@ -13,7 +13,7 @@ jobs:
|
||||||
if: ${{ github.repository == 'ruby/ruby' }}
|
if: ${{ github.repository == 'ruby/ruby' }}
|
||||||
steps:
|
steps:
|
||||||
- name: Request review based on files changes and/or groups the author belongs to
|
- name: Request review based on files changes and/or groups the author belongs to
|
||||||
uses: necojackarc/auto-request-review@5f91f424cabb3211c669e49e79da8363f7df395b # v0.10.0
|
uses: necojackarc/auto-request-review@e89da1a8cd7c8c16d9de9c6e763290b6b0e3d424 # v0.13.0
|
||||||
with:
|
with:
|
||||||
# scope: public_repo
|
# scope: public_repo
|
||||||
token: ${{ secrets.MATZBOT_GITHUB_TOKEN }}
|
token: ${{ secrets.MATZBOT_GITHUB_TOKEN }}
|
||||||
|
|
8
.github/workflows/baseruby.yml
vendored
8
.github/workflows/baseruby.yml
vendored
|
@ -48,12 +48,12 @@ jobs:
|
||||||
- ruby-3.1
|
- ruby-3.1
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@755da8c3cf115ac066823e79a1e1788f8940201b # v3.2.0
|
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
|
||||||
- uses: actions/cache@c17f4bf4666a8001b1a45c09eb7a485c41aa64c3 # v3.2.0
|
- uses: actions/cache@d4323d4df104b026a6aa633fdb11d772146be0bf # v4.2.2
|
||||||
with:
|
with:
|
||||||
path: .downloaded-cache
|
path: .downloaded-cache
|
||||||
key: downloaded-cache
|
key: downloaded-cache
|
||||||
- uses: ruby/setup-ruby@4b2d1d631efa087f8896c15a0c6023dc2f483198 # v1.128.0
|
- uses: ruby/setup-ruby@277ba2a127aba66d45bad0fa2dc56f80dbfedffa # v1.222.0
|
||||||
with:
|
with:
|
||||||
ruby-version: ${{ matrix.ruby }}
|
ruby-version: ${{ matrix.ruby }}
|
||||||
bundler: none
|
bundler: none
|
||||||
|
@ -65,7 +65,7 @@ jobs:
|
||||||
- run: make incs
|
- run: make incs
|
||||||
- run: make all
|
- run: make all
|
||||||
- run: make test
|
- run: make test
|
||||||
- uses: ruby/action-slack@b6882ea6ef8f556f9f9af9ec1220d3f1ced74acf # v3.0.0
|
- uses: ruby/action-slack@0bd85c72233cdbb6a0fe01d37aaeff1d21b5fce1 # v3.2.1
|
||||||
with:
|
with:
|
||||||
payload: |
|
payload: |
|
||||||
{
|
{
|
||||||
|
|
6
.github/workflows/bundled_gems.yml
vendored
6
.github/workflows/bundled_gems.yml
vendored
|
@ -41,9 +41,9 @@ jobs:
|
||||||
echo "GNUMAKEFLAGS=-j$((1 + $(nproc --all)))" >> $GITHUB_ENV
|
echo "GNUMAKEFLAGS=-j$((1 + $(nproc --all)))" >> $GITHUB_ENV
|
||||||
echo "TODAY=$(date +%F)" >> $GITHUB_ENV
|
echo "TODAY=$(date +%F)" >> $GITHUB_ENV
|
||||||
|
|
||||||
- uses: actions/checkout@755da8c3cf115ac066823e79a1e1788f8940201b # v3.2.0
|
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
|
||||||
|
|
||||||
- uses: actions/cache@c17f4bf4666a8001b1a45c09eb7a485c41aa64c3 # v3.2.0
|
- uses: actions/cache@d4323d4df104b026a6aa633fdb11d772146be0bf # v4.2.2
|
||||||
with:
|
with:
|
||||||
path: .downloaded-cache
|
path: .downloaded-cache
|
||||||
key: downloaded-cache-${{ github.sha }}
|
key: downloaded-cache-${{ github.sha }}
|
||||||
|
@ -151,7 +151,7 @@ jobs:
|
||||||
GIT_COMMITTER_NAME: git
|
GIT_COMMITTER_NAME: git
|
||||||
if: ${{ github.repository == 'ruby/ruby' && !startsWith(github.event_name, 'pull') && steps.show.outcome == 'failure' }}
|
if: ${{ github.repository == 'ruby/ruby' && !startsWith(github.event_name, 'pull') && steps.show.outcome == 'failure' }}
|
||||||
|
|
||||||
- uses: ruby/action-slack@b6882ea6ef8f556f9f9af9ec1220d3f1ced74acf # v3.0.0
|
- uses: ruby/action-slack@0bd85c72233cdbb6a0fe01d37aaeff1d21b5fce1 # v3.2.1
|
||||||
with:
|
with:
|
||||||
payload: |
|
payload: |
|
||||||
{
|
{
|
||||||
|
|
6
.github/workflows/check_dependencies.yml
vendored
6
.github/workflows/check_dependencies.yml
vendored
|
@ -52,8 +52,8 @@ jobs:
|
||||||
run: |
|
run: |
|
||||||
git config --global advice.detachedHead 0
|
git config --global advice.detachedHead 0
|
||||||
git config --global init.defaultBranch garbage
|
git config --global init.defaultBranch garbage
|
||||||
- uses: actions/checkout@755da8c3cf115ac066823e79a1e1788f8940201b # v3.2.0
|
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
|
||||||
- uses: actions/cache@c17f4bf4666a8001b1a45c09eb7a485c41aa64c3 # v3.2.0
|
- uses: actions/cache@d4323d4df104b026a6aa633fdb11d772146be0bf # v4.2.2
|
||||||
with:
|
with:
|
||||||
path: .downloaded-cache
|
path: .downloaded-cache
|
||||||
key: downloaded-cache
|
key: downloaded-cache
|
||||||
|
@ -63,7 +63,7 @@ jobs:
|
||||||
- run: make all golf
|
- run: make all golf
|
||||||
- run: ruby tool/update-deps --fix
|
- run: ruby tool/update-deps --fix
|
||||||
- run: git diff --no-ext-diff --ignore-submodules --exit-code
|
- run: git diff --no-ext-diff --ignore-submodules --exit-code
|
||||||
- uses: ruby/action-slack@b6882ea6ef8f556f9f9af9ec1220d3f1ced74acf # v3.0.0
|
- uses: ruby/action-slack@0bd85c72233cdbb6a0fe01d37aaeff1d21b5fce1 # v3.2.1
|
||||||
with:
|
with:
|
||||||
payload: |
|
payload: |
|
||||||
{
|
{
|
||||||
|
|
4
.github/workflows/codeql-analysis.yml
vendored
4
.github/workflows/codeql-analysis.yml
vendored
|
@ -49,9 +49,9 @@ jobs:
|
||||||
sudo apt-get install --no-install-recommends -q -y build-essential libssl-dev libyaml-dev libreadline6-dev zlib1g-dev libncurses5-dev libffi-dev bison autoconf ruby
|
sudo apt-get install --no-install-recommends -q -y build-essential libssl-dev libyaml-dev libreadline6-dev zlib1g-dev libncurses5-dev libffi-dev bison autoconf ruby
|
||||||
|
|
||||||
- name: Checkout repository
|
- name: Checkout repository
|
||||||
uses: actions/checkout@755da8c3cf115ac066823e79a1e1788f8940201b # v3.2.0
|
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
|
||||||
|
|
||||||
- uses: actions/cache@c17f4bf4666a8001b1a45c09eb7a485c41aa64c3 # v3.2.0
|
- uses: actions/cache@d4323d4df104b026a6aa633fdb11d772146be0bf # v4.2.2
|
||||||
with:
|
with:
|
||||||
path: .downloaded-cache
|
path: .downloaded-cache
|
||||||
key: downloaded-cache
|
key: downloaded-cache
|
||||||
|
|
6
.github/workflows/compilers.yml
vendored
6
.github/workflows/compilers.yml
vendored
|
@ -225,10 +225,10 @@ jobs:
|
||||||
- name: setenv
|
- name: setenv
|
||||||
run: |
|
run: |
|
||||||
echo "GNUMAKEFLAGS=-sj$((1 + $(nproc --all)))" >> $GITHUB_ENV
|
echo "GNUMAKEFLAGS=-sj$((1 + $(nproc --all)))" >> $GITHUB_ENV
|
||||||
- uses: actions/checkout@755da8c3cf115ac066823e79a1e1788f8940201b # v3.2.0
|
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
|
||||||
with:
|
with:
|
||||||
path: src
|
path: src
|
||||||
- uses: actions/cache@c17f4bf4666a8001b1a45c09eb7a485c41aa64c3 # v3.2.0
|
- uses: actions/cache@d4323d4df104b026a6aa633fdb11d772146be0bf # v4.2.2
|
||||||
with:
|
with:
|
||||||
path: src/.downloaded-cache
|
path: src/.downloaded-cache
|
||||||
key: downloaded-cache
|
key: downloaded-cache
|
||||||
|
@ -262,7 +262,7 @@ jobs:
|
||||||
- run: make test-annocheck
|
- run: make test-annocheck
|
||||||
if: ${{ matrix.entry.check && endsWith(matrix.entry.name, 'annocheck') }}
|
if: ${{ matrix.entry.check && endsWith(matrix.entry.name, 'annocheck') }}
|
||||||
|
|
||||||
- uses: ruby/action-slack@b6882ea6ef8f556f9f9af9ec1220d3f1ced74acf # v3.0.0
|
- uses: ruby/action-slack@0bd85c72233cdbb6a0fe01d37aaeff1d21b5fce1 # v3.2.1
|
||||||
with:
|
with:
|
||||||
payload: |
|
payload: |
|
||||||
{
|
{
|
||||||
|
|
6
.github/workflows/macos.yml
vendored
6
.github/workflows/macos.yml
vendored
|
@ -50,10 +50,10 @@ jobs:
|
||||||
run: |
|
run: |
|
||||||
git config --global advice.detachedHead 0
|
git config --global advice.detachedHead 0
|
||||||
git config --global init.defaultBranch garbage
|
git config --global init.defaultBranch garbage
|
||||||
- uses: actions/checkout@755da8c3cf115ac066823e79a1e1788f8940201b # v3.2.0
|
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
|
||||||
with:
|
with:
|
||||||
path: src
|
path: src
|
||||||
- uses: actions/cache@c17f4bf4666a8001b1a45c09eb7a485c41aa64c3 # v3.2.0
|
- uses: actions/cache@d4323d4df104b026a6aa633fdb11d772146be0bf # v4.2.2
|
||||||
with:
|
with:
|
||||||
path: src/.downloaded-cache
|
path: src/.downloaded-cache
|
||||||
key: downloaded-cache
|
key: downloaded-cache
|
||||||
|
@ -94,7 +94,7 @@ jobs:
|
||||||
PRECHECK_BUNDLED_GEMS: "no"
|
PRECHECK_BUNDLED_GEMS: "no"
|
||||||
if: ${{ matrix.test_task == 'check' && matrix.skipped_tests != '' }}
|
if: ${{ matrix.test_task == 'check' && matrix.skipped_tests != '' }}
|
||||||
continue-on-error: ${{ matrix.continue-on-skipped_tests || false }}
|
continue-on-error: ${{ matrix.continue-on-skipped_tests || false }}
|
||||||
- uses: ruby/action-slack@b6882ea6ef8f556f9f9af9ec1220d3f1ced74acf # v3.0.0
|
- uses: ruby/action-slack@0bd85c72233cdbb6a0fe01d37aaeff1d21b5fce1 # v3.2.1
|
||||||
with:
|
with:
|
||||||
payload: |
|
payload: |
|
||||||
{
|
{
|
||||||
|
|
8
.github/workflows/mingw.yml
vendored
8
.github/workflows/mingw.yml
vendored
|
@ -65,15 +65,15 @@ jobs:
|
||||||
git config --global core.eol lf
|
git config --global core.eol lf
|
||||||
git config --global advice.detachedHead 0
|
git config --global advice.detachedHead 0
|
||||||
git config --global init.defaultBranch garbage
|
git config --global init.defaultBranch garbage
|
||||||
- uses: actions/checkout@755da8c3cf115ac066823e79a1e1788f8940201b # v3.2.0
|
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
|
||||||
with:
|
with:
|
||||||
path: src
|
path: src
|
||||||
- uses: actions/cache@c17f4bf4666a8001b1a45c09eb7a485c41aa64c3 # v3.2.0
|
- uses: actions/cache@d4323d4df104b026a6aa633fdb11d772146be0bf # v4.2.2
|
||||||
with:
|
with:
|
||||||
path: src/.downloaded-cache
|
path: src/.downloaded-cache
|
||||||
key: downloaded-cache
|
key: downloaded-cache
|
||||||
- name: Set up Ruby & MSYS2
|
- name: Set up Ruby & MSYS2
|
||||||
uses: ruby/setup-ruby@4b2d1d631efa087f8896c15a0c6023dc2f483198 # v1.128.0
|
uses: ruby/setup-ruby@277ba2a127aba66d45bad0fa2dc56f80dbfedffa # v1.222.0
|
||||||
with:
|
with:
|
||||||
ruby-version: ${{ matrix.base_ruby }}
|
ruby-version: ${{ matrix.base_ruby }}
|
||||||
- name: set env
|
- name: set env
|
||||||
|
@ -159,7 +159,7 @@ jobs:
|
||||||
make ${{ StartsWith(matrix.test_task, 'spec/') && matrix.test_task || 'test-spec' }}
|
make ${{ StartsWith(matrix.test_task, 'spec/') && matrix.test_task || 'test-spec' }}
|
||||||
if: ${{matrix.test_task == 'check' || matrix.test_task == 'test-spec' || StartsWith(matrix.test_task, 'spec/')}}
|
if: ${{matrix.test_task == 'check' || matrix.test_task == 'test-spec' || StartsWith(matrix.test_task, 'spec/')}}
|
||||||
|
|
||||||
- uses: ruby/action-slack@b6882ea6ef8f556f9f9af9ec1220d3f1ced74acf # v3.0.0
|
- uses: ruby/action-slack@0bd85c72233cdbb6a0fe01d37aaeff1d21b5fce1 # v3.2.1
|
||||||
with:
|
with:
|
||||||
payload: |
|
payload: |
|
||||||
{
|
{
|
||||||
|
|
8
.github/workflows/mjit-bindgen.yml
vendored
8
.github/workflows/mjit-bindgen.yml
vendored
|
@ -56,17 +56,17 @@ jobs:
|
||||||
bison autoconf
|
bison autoconf
|
||||||
sudo apt-get install -q -y pkg-config || :
|
sudo apt-get install -q -y pkg-config || :
|
||||||
- name: Set up Ruby
|
- name: Set up Ruby
|
||||||
uses: ruby/setup-ruby@4b2d1d631efa087f8896c15a0c6023dc2f483198 # v1.128.0
|
uses: ruby/setup-ruby@277ba2a127aba66d45bad0fa2dc56f80dbfedffa # v1.222.0
|
||||||
with:
|
with:
|
||||||
ruby-version: '3.1'
|
ruby-version: '3.1'
|
||||||
- name: git config
|
- name: git config
|
||||||
run: |
|
run: |
|
||||||
git config --global advice.detachedHead 0
|
git config --global advice.detachedHead 0
|
||||||
git config --global init.defaultBranch garbage
|
git config --global init.defaultBranch garbage
|
||||||
- uses: actions/checkout@755da8c3cf115ac066823e79a1e1788f8940201b # v3.2.0
|
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
|
||||||
with:
|
with:
|
||||||
path: src
|
path: src
|
||||||
- uses: actions/cache@c17f4bf4666a8001b1a45c09eb7a485c41aa64c3 # v3.2.0
|
- uses: actions/cache@d4323d4df104b026a6aa633fdb11d772146be0bf # v4.2.2
|
||||||
with:
|
with:
|
||||||
path: src/.downloaded-cache
|
path: src/.downloaded-cache
|
||||||
key: downloaded-cache
|
key: downloaded-cache
|
||||||
|
@ -85,7 +85,7 @@ jobs:
|
||||||
- run: make ${{ matrix.task }}
|
- run: make ${{ matrix.task }}
|
||||||
- run: git diff --exit-code
|
- run: git diff --exit-code
|
||||||
working-directory: src
|
working-directory: src
|
||||||
- uses: ruby/action-slack@b6882ea6ef8f556f9f9af9ec1220d3f1ced74acf # v3.0.0
|
- uses: ruby/action-slack@0bd85c72233cdbb6a0fe01d37aaeff1d21b5fce1 # v3.2.1
|
||||||
with:
|
with:
|
||||||
payload: |
|
payload: |
|
||||||
{
|
{
|
||||||
|
|
6
.github/workflows/mjit.yml
vendored
6
.github/workflows/mjit.yml
vendored
|
@ -57,10 +57,10 @@ jobs:
|
||||||
run: |
|
run: |
|
||||||
git config --global advice.detachedHead 0
|
git config --global advice.detachedHead 0
|
||||||
git config --global init.defaultBranch garbage
|
git config --global init.defaultBranch garbage
|
||||||
- uses: actions/checkout@755da8c3cf115ac066823e79a1e1788f8940201b # v3.2.0
|
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
|
||||||
with:
|
with:
|
||||||
path: src
|
path: src
|
||||||
- uses: actions/cache@c17f4bf4666a8001b1a45c09eb7a485c41aa64c3 # v3.2.0
|
- uses: actions/cache@d4323d4df104b026a6aa633fdb11d772146be0bf # v4.2.2
|
||||||
with:
|
with:
|
||||||
path: src/.downloaded-cache
|
path: src/.downloaded-cache
|
||||||
key: downloaded-cache
|
key: downloaded-cache
|
||||||
|
@ -94,7 +94,7 @@ jobs:
|
||||||
unset GNUMAKEFLAGS
|
unset GNUMAKEFLAGS
|
||||||
make -s test-spec RUN_OPTS="$RUN_OPTS"
|
make -s test-spec RUN_OPTS="$RUN_OPTS"
|
||||||
timeout-minutes: 60
|
timeout-minutes: 60
|
||||||
- uses: ruby/action-slack@b6882ea6ef8f556f9f9af9ec1220d3f1ced74acf # v3.0.0
|
- uses: ruby/action-slack@0bd85c72233cdbb6a0fe01d37aaeff1d21b5fce1 # v3.2.1
|
||||||
with:
|
with:
|
||||||
payload: |
|
payload: |
|
||||||
{
|
{
|
||||||
|
|
6
.github/workflows/scorecards.yml
vendored
6
.github/workflows/scorecards.yml
vendored
|
@ -32,12 +32,12 @@ jobs:
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: "Checkout code"
|
- name: "Checkout code"
|
||||||
uses: actions/checkout@755da8c3cf115ac066823e79a1e1788f8940201b # v3.2.0
|
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
|
||||||
with:
|
with:
|
||||||
persist-credentials: false
|
persist-credentials: false
|
||||||
|
|
||||||
- name: "Run analysis"
|
- name: "Run analysis"
|
||||||
uses: ossf/scorecard-action@e38b1902ae4f44df626f11ba0734b14fb91f8f86 # v2.1.2
|
uses: ossf/scorecard-action@ea651e62978af7915d09fe2e282747c798bf2dab # v2.4.1
|
||||||
with:
|
with:
|
||||||
results_file: results.sarif
|
results_file: results.sarif
|
||||||
results_format: sarif
|
results_format: sarif
|
||||||
|
@ -59,7 +59,7 @@ jobs:
|
||||||
# Upload the results as artifacts (optional). Commenting out will disable uploads of run results in SARIF
|
# Upload the results as artifacts (optional). Commenting out will disable uploads of run results in SARIF
|
||||||
# format to the repository Actions tab.
|
# format to the repository Actions tab.
|
||||||
- name: "Upload artifact"
|
- name: "Upload artifact"
|
||||||
uses: actions/upload-artifact@83fd05a356d7e2593de66fc9913b3002723633cb # v3.1.1
|
uses: actions/upload-artifact@4cec3d8aa04e39d1a68397de0c4cd6fb9dce8ec1 # v4.6.1
|
||||||
with:
|
with:
|
||||||
name: SARIF file
|
name: SARIF file
|
||||||
path: results.sarif
|
path: results.sarif
|
||||||
|
|
6
.github/workflows/spec_guards.yml
vendored
6
.github/workflows/spec_guards.yml
vendored
|
@ -43,9 +43,9 @@ jobs:
|
||||||
- ruby-3.2
|
- ruby-3.2
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
|
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
|
||||||
|
|
||||||
- uses: ruby/setup-ruby@97e35c5302afcf3f5ac1df3fca9343d32536b286 # v1.184.0
|
- uses: ruby/setup-ruby@277ba2a127aba66d45bad0fa2dc56f80dbfedffa # v1.222.0
|
||||||
with:
|
with:
|
||||||
ruby-version: ${{ matrix.ruby }}
|
ruby-version: ${{ matrix.ruby }}
|
||||||
bundler: none
|
bundler: none
|
||||||
|
@ -56,7 +56,7 @@ jobs:
|
||||||
working-directory: spec/ruby
|
working-directory: spec/ruby
|
||||||
env:
|
env:
|
||||||
CHECK_LEAKS: true
|
CHECK_LEAKS: true
|
||||||
- uses: ruby/action-slack@b6882ea6ef8f556f9f9af9ec1220d3f1ced74acf # v3.0.0
|
- uses: ruby/action-slack@0bd85c72233cdbb6a0fe01d37aaeff1d21b5fce1 # v3.2.1
|
||||||
with:
|
with:
|
||||||
payload: |
|
payload: |
|
||||||
{
|
{
|
||||||
|
|
6
.github/workflows/ubuntu.yml
vendored
6
.github/workflows/ubuntu.yml
vendored
|
@ -79,10 +79,10 @@ jobs:
|
||||||
run: |
|
run: |
|
||||||
git config --global advice.detachedHead 0
|
git config --global advice.detachedHead 0
|
||||||
git config --global init.defaultBranch garbage
|
git config --global init.defaultBranch garbage
|
||||||
- uses: actions/checkout@755da8c3cf115ac066823e79a1e1788f8940201b # v3.2.0
|
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
|
||||||
with:
|
with:
|
||||||
path: src
|
path: src
|
||||||
- uses: actions/cache@c17f4bf4666a8001b1a45c09eb7a485c41aa64c3 # v3.2.0
|
- uses: actions/cache@d4323d4df104b026a6aa633fdb11d772146be0bf # v4.2.2
|
||||||
with:
|
with:
|
||||||
path: src/.downloaded-cache
|
path: src/.downloaded-cache
|
||||||
key: downloaded-cache
|
key: downloaded-cache
|
||||||
|
@ -127,7 +127,7 @@ jobs:
|
||||||
TESTS: ${{ matrix.skipped_tests }}
|
TESTS: ${{ matrix.skipped_tests }}
|
||||||
if: ${{ matrix.test_task == 'check' && matrix.skipped_tests != '' }}
|
if: ${{ matrix.test_task == 'check' && matrix.skipped_tests != '' }}
|
||||||
continue-on-error: ${{ matrix.continue-on-skipped_tests || false }}
|
continue-on-error: ${{ matrix.continue-on-skipped_tests || false }}
|
||||||
- uses: ruby/action-slack@b6882ea6ef8f556f9f9af9ec1220d3f1ced74acf # v3.0.0
|
- uses: ruby/action-slack@0bd85c72233cdbb6a0fe01d37aaeff1d21b5fce1 # v3.2.1
|
||||||
with:
|
with:
|
||||||
payload: |
|
payload: |
|
||||||
{
|
{
|
||||||
|
|
4
.github/workflows/wasm.yml
vendored
4
.github/workflows/wasm.yml
vendored
|
@ -59,7 +59,7 @@ jobs:
|
||||||
run: |
|
run: |
|
||||||
git config --global advice.detachedHead 0
|
git config --global advice.detachedHead 0
|
||||||
git config --global init.defaultBranch garbage
|
git config --global init.defaultBranch garbage
|
||||||
- uses: actions/checkout@755da8c3cf115ac066823e79a1e1788f8940201b # v3.2.0
|
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
|
||||||
with:
|
with:
|
||||||
path: src
|
path: src
|
||||||
- name: Install libraries
|
- name: Install libraries
|
||||||
|
@ -115,7 +115,7 @@ jobs:
|
||||||
ruby ./bootstraptest/runner.rb --ruby="$(which wasmtime) run $PWD/../build/ruby --mapdir /::./ -- " --verbose "--sets=$NO_THREAD_TESTS"
|
ruby ./bootstraptest/runner.rb --ruby="$(which wasmtime) run $PWD/../build/ruby --mapdir /::./ -- " --verbose "--sets=$NO_THREAD_TESTS"
|
||||||
working-directory: src
|
working-directory: src
|
||||||
|
|
||||||
- uses: ruby/action-slack@b6882ea6ef8f556f9f9af9ec1220d3f1ced74acf # v3.0.0
|
- uses: ruby/action-slack@0bd85c72233cdbb6a0fe01d37aaeff1d21b5fce1 # v3.2.1
|
||||||
with:
|
with:
|
||||||
payload: |
|
payload: |
|
||||||
{
|
{
|
||||||
|
|
12
.github/workflows/windows.yml
vendored
12
.github/workflows/windows.yml
vendored
|
@ -47,7 +47,7 @@ jobs:
|
||||||
steps:
|
steps:
|
||||||
- run: md build
|
- run: md build
|
||||||
working-directory:
|
working-directory:
|
||||||
- uses: msys2/setup-msys2@d40200dc2db4c351366b048a9565ad82919e1c24 # v2
|
- uses: msys2/setup-msys2@61f9e5e925871ba6c9e3e8da24ede83ea27fa91f # v2.27.0
|
||||||
id: setup-msys2
|
id: setup-msys2
|
||||||
with:
|
with:
|
||||||
update: true
|
update: true
|
||||||
|
@ -56,14 +56,14 @@ jobs:
|
||||||
shell: msys2 {0}
|
shell: msys2 {0}
|
||||||
run: echo PATCH=$(cygpath -wa $(command -v patch)) >> $GITHUB_ENV
|
run: echo PATCH=$(cygpath -wa $(command -v patch)) >> $GITHUB_ENV
|
||||||
if: ${{ steps.setup-msys2.outcome == 'success' }}
|
if: ${{ steps.setup-msys2.outcome == 'success' }}
|
||||||
- uses: actions/cache@c17f4bf4666a8001b1a45c09eb7a485c41aa64c3 # v3.2.0
|
- uses: actions/cache@d4323d4df104b026a6aa633fdb11d772146be0bf # v4.2.2
|
||||||
with:
|
with:
|
||||||
path: C:\vcpkg\downloads
|
path: C:\vcpkg\downloads
|
||||||
key: ${{ runner.os }}-vcpkg-download-${{ env.OS_VER }}-${{ github.sha }}
|
key: ${{ runner.os }}-vcpkg-download-${{ env.OS_VER }}-${{ github.sha }}
|
||||||
restore-keys: |
|
restore-keys: |
|
||||||
${{ runner.os }}-vcpkg-download-${{ env.OS_VER }}-
|
${{ runner.os }}-vcpkg-download-${{ env.OS_VER }}-
|
||||||
${{ runner.os }}-vcpkg-download-
|
${{ runner.os }}-vcpkg-download-
|
||||||
- uses: actions/cache@c17f4bf4666a8001b1a45c09eb7a485c41aa64c3 # v3.2.0
|
- uses: actions/cache@d4323d4df104b026a6aa633fdb11d772146be0bf # v4.2.2
|
||||||
with:
|
with:
|
||||||
path: C:\vcpkg\installed
|
path: C:\vcpkg\installed
|
||||||
key: ${{ runner.os }}-vcpkg-installed-${{ matrix.os }}-${{ github.sha }}
|
key: ${{ runner.os }}-vcpkg-installed-${{ matrix.os }}-${{ github.sha }}
|
||||||
|
@ -79,10 +79,10 @@ jobs:
|
||||||
git config --global core.eol lf
|
git config --global core.eol lf
|
||||||
git config --global advice.detachedHead 0
|
git config --global advice.detachedHead 0
|
||||||
git config --global init.defaultBranch garbage
|
git config --global init.defaultBranch garbage
|
||||||
- uses: actions/checkout@755da8c3cf115ac066823e79a1e1788f8940201b # v3.2.0
|
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
|
||||||
with:
|
with:
|
||||||
path: src
|
path: src
|
||||||
- uses: actions/cache@c17f4bf4666a8001b1a45c09eb7a485c41aa64c3 # v3.2.0
|
- uses: actions/cache@d4323d4df104b026a6aa633fdb11d772146be0bf # v4.2.2
|
||||||
with:
|
with:
|
||||||
path: src/.downloaded-cache
|
path: src/.downloaded-cache
|
||||||
key: downloaded-cache
|
key: downloaded-cache
|
||||||
|
@ -133,7 +133,7 @@ jobs:
|
||||||
env:
|
env:
|
||||||
RUBY_TESTOPTS: -j${{env.TEST_JOBS}} --job-status=normal
|
RUBY_TESTOPTS: -j${{env.TEST_JOBS}} --job-status=normal
|
||||||
timeout-minutes: 60
|
timeout-minutes: 60
|
||||||
- uses: ruby/action-slack@b6882ea6ef8f556f9f9af9ec1220d3f1ced74acf # v3.0.0
|
- uses: ruby/action-slack@0bd85c72233cdbb6a0fe01d37aaeff1d21b5fce1 # v3.2.1
|
||||||
with:
|
with:
|
||||||
payload: |
|
payload: |
|
||||||
{
|
{
|
||||||
|
|
8
.github/workflows/yjit-ubuntu.yml
vendored
8
.github/workflows/yjit-ubuntu.yml
vendored
|
@ -35,7 +35,7 @@ jobs:
|
||||||
# GitHub Action's image seems to already contain a Rust 1.58.0.
|
# GitHub Action's image seems to already contain a Rust 1.58.0.
|
||||||
runs-on: ubuntu-20.04
|
runs-on: ubuntu-20.04
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@755da8c3cf115ac066823e79a1e1788f8940201b # v3.2.0
|
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
|
||||||
# For now we can't run cargo test --offline because it complains about the
|
# For now we can't run cargo test --offline because it complains about the
|
||||||
# capstone dependency, even though the dependency is optional
|
# capstone dependency, even though the dependency is optional
|
||||||
#- run: cargo test --offline
|
#- run: cargo test --offline
|
||||||
|
@ -101,10 +101,10 @@ jobs:
|
||||||
run: |
|
run: |
|
||||||
git config --global advice.detachedHead 0
|
git config --global advice.detachedHead 0
|
||||||
git config --global init.defaultBranch garbage
|
git config --global init.defaultBranch garbage
|
||||||
- uses: actions/checkout@755da8c3cf115ac066823e79a1e1788f8940201b # v3.2.0
|
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
|
||||||
with:
|
with:
|
||||||
path: src
|
path: src
|
||||||
- uses: actions/cache@c17f4bf4666a8001b1a45c09eb7a485c41aa64c3 # v3.2.0
|
- uses: actions/cache@d4323d4df104b026a6aa633fdb11d772146be0bf # v4.2.2
|
||||||
with:
|
with:
|
||||||
path: src/.downloaded-cache
|
path: src/.downloaded-cache
|
||||||
key: downloaded-cache
|
key: downloaded-cache
|
||||||
|
@ -149,7 +149,7 @@ jobs:
|
||||||
BASE_REPO: ${{ github.event.pull_request.base.repo.full_name }}
|
BASE_REPO: ${{ github.event.pull_request.base.repo.full_name }}
|
||||||
BASE_SHA: ${{ github.event.pull_request.base.sha }}
|
BASE_SHA: ${{ github.event.pull_request.base.sha }}
|
||||||
if: ${{ matrix.test_task == 'yjit-bench' && startsWith(github.event_name, 'pull') }}
|
if: ${{ matrix.test_task == 'yjit-bench' && startsWith(github.event_name, 'pull') }}
|
||||||
- uses: ruby/action-slack@b6882ea6ef8f556f9f9af9ec1220d3f1ced74acf # v3.0.0
|
- uses: ruby/action-slack@0bd85c72233cdbb6a0fe01d37aaeff1d21b5fce1 # v3.2.1
|
||||||
with:
|
with:
|
||||||
payload: |
|
payload: |
|
||||||
{
|
{
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue