Sha256: 9713255b93418e3e4e4942c19130771594b833b6ee25001540e1436b08c142ac

Contents?: true

Size: 1.11 KB

Versions: 2

Compression:

Stored size: 1.11 KB

Contents

name: CI

on: [ push, pull_request ]

jobs:
  tests:
    runs-on: ubuntu-latest
    strategy:
      fail-fast: false
      matrix:
        ruby:
          - '3.0'
          - '3.1'
          - '3.2'
          - '3.3'
          - truffleruby
    name: Ruby ${{ matrix.ruby }}
    steps:
      - uses: actions/checkout@v4
      - name: Set up Ruby
        uses: ruby/setup-ruby@v1
        with:
          ruby-version: ${{ matrix.ruby }}
          bundler-cache: true
      # - name: Install dependencies
      #   run: |
      #     sudo apt update -y && \
      #     sudo apt install -y --no-install-recommends --no-install-suggests FIXME
      - name: Install dependencies
        run: bundle install --jobs 4 --retry 3
      - name: Run tests
        run: bundle exec rake test

  # rubocop linting
  rubocop:
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v4
      - name: Set up Ruby
        uses: ruby/setup-ruby@v1
        with:
          ruby-version: 3.0
      - name: Install dependencies
        run: bundle install --jobs 4 --retry 3
      - name: Run rubocop
        run: bundle exec rubocop --parallel

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
ronin-dns-proxy-0.1.0 .github/workflows/ruby.yml
ronin-dns-proxy-0.1.0.rc1 .github/workflows/ruby.yml