Merge remote-tracking branch 'upstream/master' into Ractor-Local-GC-v… #167
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Check Dependencies | |
on: | |
push: | |
paths-ignore: | |
- 'doc/**' | |
- '**/man' | |
- '**.md' | |
- '**.rdoc' | |
- '**/.document' | |
- '.*.yml' | |
pull_request: | |
paths-ignore: | |
- 'doc/**' | |
- '**/man' | |
- '**.md' | |
- '**.rdoc' | |
- '**/.document' | |
- '.*.yml' | |
merge_group: | |
concurrency: | |
group: ${{ github.workflow }} / ${{ startsWith(github.event_name, 'pull') && github.ref_name || github.sha }} | |
cancel-in-progress: ${{ startsWith(github.event_name, 'pull') }} | |
permissions: | |
contents: read | |
jobs: | |
update-deps: | |
strategy: | |
matrix: | |
os: [ubuntu-20.04] | |
fail-fast: true | |
runs-on: ${{ matrix.os }} | |
if: >- | |
${{!(false | |
|| contains(github.event.head_commit.message, '[DOC]') | |
|| contains(github.event.pull_request.title, '[DOC]') | |
|| contains(github.event.pull_request.labels.*.name, 'Documentation') | |
|| (github.event_name == 'push' && github.actor == 'dependabot[bot]') | |
)}} | |
steps: | |
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1 | |
- uses: ./.github/actions/setup/ubuntu | |
if: ${{ contains(matrix.os, 'ubuntu') }} | |
- uses: ./.github/actions/setup/macos | |
if: ${{ contains(matrix.os, 'macos') }} | |
- uses: ./.github/actions/setup/directories | |
- uses: ruby/setup-ruby@d4526a55538b775af234ba4af27118ed6f8f6677 # v1.172.0 | |
with: | |
ruby-version: '3.0' | |
bundler: none | |
- name: Run configure | |
run: ./configure -C --disable-install-doc --disable-rubygems --with-gcc 'optflags=-O0' 'debugflags=-save-temps=obj -g' | |
- run: make all golf | |
- run: ruby tool/update-deps --fix | |
- run: git diff --no-ext-diff --ignore-submodules --exit-code | |
- uses: ./.github/actions/slack | |
with: | |
label: ${{ matrix.os }} / Dependencies need to update | |
SLACK_WEBHOOK_URL: ${{ secrets.SIMPLER_ALERTS_URL }} # ruby-lang slack: ruby/simpler-alerts-bot | |
if: ${{ failure() }} |