Translate Ruby 3.3.0 preview3 released news post (zh_tw) #2536
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: ci | |
on: [push, pull_request] | |
permissions: # added using https://github.com/step-security/secure-workflows | |
contents: read | |
jobs: | |
build: | |
name: build (${{ matrix.ruby }} / ${{ matrix.os }}) | |
strategy: | |
matrix: | |
ruby: ["3.2"] | |
os: [ubuntu-latest] | |
fail-fast: false | |
runs-on: ${{ matrix.os }} | |
steps: | |
- name: Dump environment | |
run: env | sort | |
- name: Checkout ruby/www.ruby-lang.org | |
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1 | |
with: | |
fetch-depth: 1 | |
- name: Setup Ruby | |
uses: ruby/setup-ruby@8575951200e472d5f2d95c625da0c7bec8217c42 # v1.161.0 | |
with: | |
ruby-version: ${{ matrix.ruby }} | |
bundler-cache: true | |
- name: Dump Ruby version | |
run: ruby -v | |
- name: Run tests | |
run: bundle exec rake test |