Bump rdoc from 6.7.0 to 6.12.0 in /ruby #449
Workflow file for this run
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: Ruby 🔻💎🔻 Tests 🦂 | |
on: | |
push: | |
branches-ignore: | |
- 'main' | |
paths: | |
- 'ruby/**' | |
- '!ruby/**.md' | |
- '!ruby/.vscode/**' | |
- '.github/workflows/ruby-*' | |
pull_request: | |
branches: | |
- 'main' | |
paths: | |
- 'ruby/**' | |
- '!ruby/**.md' | |
- '!ruby/.vscode/**' | |
- '.github/workflows/ruby-*' | |
schedule: # 9AM on the 15th | |
- cron: 0 22 14 1,2,3,10,11,12 * # AEDT Months | |
- cron: 0 23 14 4,5,6,7,8,9 * # AEST Months | |
workflow_call: | |
permissions: {} | |
defaults: | |
run: | |
shell: bash | |
working-directory: ruby | |
jobs: | |
quick-test: | |
name: Ruby 🔻💎🔻 Quick Test 🦂 | |
if: ${{ github.event_name == 'push' && !(github.event.ref == 'refs/heads/main') }} | |
runs-on: ubuntu-latest | |
steps: | |
- name: 🏁 Checkout | |
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7 | |
- name: 🔻💎🔻 Set up Ruby | |
uses: ruby/setup-ruby@a2bbe5b1b236842c1cb7dd11e8e3b51e0a616acc # v1.202.0 | |
with: | |
ruby-version: '2.7' | |
bundler-cache: true | |
- name: 🧱 Install build dependencies | |
run: make setup | |
- name: 🦂 Test | |
run: make test | |
full-test: | |
name: Ruby 🔻💎🔻 Full Test 🦂 | |
if: >- | |
${{ github.event_name == 'pull_request' || github.event_name == 'workflow_dispatch' || | |
(github.event_name == 'push' && github.event.ref == 'refs/heads/main') }} | |
runs-on: '${{ matrix.os }}' | |
strategy: | |
fail-fast: false | |
matrix: | |
version: ['2.7.0', '3.0', '3.1'] | |
os: [ubuntu-latest, macOS-12, windows-latest] # # < maybe. | |
steps: | |
- name: 🏁 Checkout | |
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7 | |
- name: 🔻💎🔻 Set up Ruby ${{ matrix.version }} | |
uses: ruby/setup-ruby@a2bbe5b1b236842c1cb7dd11e8e3b51e0a616acc # v1.202.0 | |
with: | |
ruby-version: ${{ matrix.version }} | |
bundler-cache: true | |
- name: 🧱 Install build dependencies | |
run: make setup | |
- name: 🦂 Test | |
run: make test | |
codeql: | |
name: Ruby 🔻💎🔻 CodeQL 🛡👨💻🛡 | |
if: >- | |
${{ github.event_name == 'pull_request' || github.event_name == 'workflow_dispatch' || | |
(github.event_name == 'push' && github.event.ref == 'refs/heads/main') }} | |
permissions: | |
actions: read | |
contents: read | |
security-events: write | |
uses: ./.github/workflows/github-codeql.yaml | |
with: | |
language: 'ruby' | |
docs: | |
name: Ruby 🔻💎🔻 Docs 📄 Quick Test 🦂 | |
runs-on: ubuntu-latest | |
steps: | |
- name: 🏁 Checkout | |
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7 | |
- name: 🔻💎🔻 Set up Ruby | |
uses: ruby/setup-ruby@a2bbe5b1b236842c1cb7dd11e8e3b51e0a616acc # v1.202.0 | |
with: | |
ruby-version: '2.7' | |
bundler-cache: true | |
- name: 🧱 Install build dependencies | |
run: make setup | |
- name: 📄 Docs | |
run: make docs |