Merge pull request #3430 from timfanda35/improve-community-page-zh-tw #3342
This file contains hidden or 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@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7 | |
| with: | |
| fetch-depth: 1 | |
| - name: Setup Ruby | |
| uses: ruby/setup-ruby@a6e6f86333f0a2523ece813039b8b4be04560854 # v1.190.0 | |
| with: | |
| ruby-version: ${{ matrix.ruby }} | |
| bundler-cache: true | |
| - name: Dump Ruby version | |
| run: ruby -v | |
| - name: Run tests | |
| run: bundle exec rake test |