chore(deps): bump actions/setup-java from 4075bfc1b51bf22876335ae1cd589602d60d8758 to 0ab4596768b603586c0de567f2430c30f5b0d2b0 #134
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: Build and test | |
on: | |
pull_request: | |
types: | |
- opened | |
- ready_for_review | |
- synchronize | |
push: | |
branches: | |
- master | |
permissions: | |
contents: read | |
jobs: | |
lint: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
task: | |
- rubocop | |
- rdoc | |
name: "Execute ${{ matrix.task }}" | |
steps: | |
- uses: actions/checkout@3df4ab11eba7bda6032a0b82a6bb43b11571feac | |
- uses: ruby/setup-ruby@52b8784594ec115fd17094752708121dc5dabb47 | |
with: | |
bundler-cache: true | |
- run: bundle exec rake ${{ matrix.task }} | |
build: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: # Use as the parameter injection | |
java-version: | |
- 11 | |
buildtools-version: | |
- 29.0.3 | |
steps: | |
- uses: actions/checkout@3df4ab11eba7bda6032a0b82a6bb43b11571feac | |
- uses: ruby/setup-ruby@52b8784594ec115fd17094752708121dc5dabb47 | |
with: | |
bundler-cache: true | |
- uses: actions/setup-java@0ab4596768b603586c0de567f2430c30f5b0d2b0 | |
with: | |
distribution: 'corretto' | |
java-version: ${{ matrix.java-version }} | |
- uses: ./.github/actions/setup-buildtools | |
with: | |
buildtools-version: ${{ matrix.buildtools-version }} | |
- run: bundle exec rake specs |