Respect Provides version in Debian control files #208
Workflow file for this run
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: Ruby | |
| on: | |
| pull_request: {} | |
| push: | |
| branches: | |
| - main | |
| permissions: | |
| contents: read | |
| jobs: | |
| rubocop_and_matrix: | |
| runs-on: ubuntu-24.04 | |
| outputs: | |
| ruby: ${{ steps.ruby.outputs.versions }} | |
| steps: | |
| - uses: actions/checkout@v5 | |
| - name: Set up Ruby | |
| uses: ruby/setup-ruby@v1 | |
| with: | |
| ruby-version: '3.4' | |
| bundler-cache: true | |
| - id: ruby | |
| uses: voxpupuli/ruby-version@v1 | |
| test: | |
| runs-on: ubuntu-24.04 | |
| needs: rubocop_and_matrix | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| ruby: ${{ fromJSON(needs.rubocop_and_matrix.outputs.ruby) }} | |
| name: "Ruby ${{ matrix.ruby }}" | |
| steps: | |
| - uses: actions/checkout@v5 | |
| - name: Install Ruby ${{ matrix.ruby }} | |
| uses: ruby/setup-ruby@v1 | |
| with: | |
| ruby-version: ${{ matrix.ruby }} | |
| bundler-cache: true | |
| - name: Run tests | |
| run: bundle exec rake | |
| - name: Build gem | |
| run: gem build --strict --verbose *.gemspec | |
| tests: | |
| needs: | |
| - rubocop_and_matrix | |
| - test | |
| runs-on: ubuntu-latest | |
| name: Test suite | |
| steps: | |
| - run: echo Test suite completed |