Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
32 changes: 14 additions & 18 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,32 +16,28 @@ jobs:
matrix:
include:
- os: ubuntu-latest
ruby: "3.0"
tool: test
ruby: "4.0"
tool: "--test"
- os: macos-latest
ruby: "3.0"
tool: test
- os: windows-latest
ruby: "3.0"
tool: test
ruby: "4.0"
tool: "--test"
- os: ubuntu-latest
ruby: "3.0"
tool: rubocop
- os: ubuntu-latest
ruby: "3.0"
tool: "build , yardoc"
ruby: "4.0"
tool: "--rubocop --build --yard"
fail-fast: false
runs-on: ${{ matrix.os }}
steps:
- name: Checkout repo
uses: actions/checkout@v4
- name: Install Ruby ${{ matrix.ruby }}
uses: ruby/setup-ruby@v1
with:
ruby-version: ${{ matrix.ruby }}
- name: Checkout repo
uses: actions/checkout@v2
- name: Install dependencies
bundler: default
bundler-cache: true
- name: Install toys
shell: bash
run: "bundle install && gem install --no-document toys"
- name: Run ${{ matrix.tool || 'test' }}
run: "gem install --no-document toys"
- name: Run ${{ matrix.tool }}
shell: bash
run: toys do ${{ matrix.tool || 'test' }} < /dev/null
run: toys ci --only ${{ matrix.tool }} < /dev/null
Loading