diff --git a/.github/workflows/license-audit.yml b/.github/workflows/license-audit.yml deleted file mode 100644 index 6c3b1644..00000000 --- a/.github/workflows/license-audit.yml +++ /dev/null @@ -1,24 +0,0 @@ -name: license audit - -on: [push, pull_request] - -jobs: - license-audit: - runs-on: ubuntu-latest - - steps: - - uses: actions/checkout@v2 - - - name: fetch decisions.yml - run: | - curl https://raw.githubusercontent.com/bugsnag/license-audit/master/config/decision_files/global.yml -o config/decisions.yml - curl https://raw.githubusercontent.com/bugsnag/license-audit/master/config/decision_files/bugsnag-ruby.yml >> config/decisions.yml - - - name: run license finder - # for some reason license finder doesn't run without a login shell (-l) - run: > - docker run -v $PWD:/scan licensefinder/license_finder /bin/bash -lc " - cd /scan && - bundle install && - license_finder --decisions-file config/decisions.yml - " diff --git a/.github/workflows/maze-runner.yml b/.github/workflows/maze-runner.yml index 9e4c925c..43bcc03f 100644 --- a/.github/workflows/maze-runner.yml +++ b/.github/workflows/maze-runner.yml @@ -3,52 +3,6 @@ name: maze-runner on: [push, pull_request] jobs: - rake-maze-runner: - strategy: - fail-fast: false - matrix: - ruby-version: ['1.9', '3.2'] - - uses: ./.github/workflows/run-maze-runner.yml - with: - features: features/rake.feature - ruby-version: ${{ matrix.ruby-version }} - - mailman-maze-runner: - strategy: - fail-fast: false - matrix: - ruby-version: ['2.0', '3.0'] - - uses: ./.github/workflows/run-maze-runner.yml - with: - features: features/mailman.feature - ruby-version: ${{ matrix.ruby-version }} - - rack-maze-runner: - strategy: - fail-fast: false - matrix: - include: - - ruby-version: '1.9' - rack-version: '1' - - ruby-version: '3.0' - rack-version: '1' - - ruby-version: '2.2' - rack-version: '2' - - ruby-version: '3.2' - rack-version: '2' - - ruby-version: '2.4' - rack-version: '3' - - ruby-version: '3.2' - rack-version: '3' - - uses: ./.github/workflows/run-maze-runner.yml - with: - features: features/rack.feature - ruby-version: ${{ matrix.ruby-version }} - rack-version: ${{ matrix.rack-version }} - que-maze-runner: strategy: fail-fast: false @@ -69,88 +23,102 @@ jobs: ruby-version: ${{ matrix.ruby-version }} que-version: ${{ matrix.que-version }} - sidekiq-maze-runner: + que-maze-runner2: strategy: fail-fast: false matrix: - ruby-version: ['2.5', '2.7'] - sidekiq-version: ['2', '3', '4', '5', '6', '7'] include: - - ruby-version: '3.2' - sidekiq-version: '7' - exclude: - # 2.7 is the minimum ruby version that sidekiq 7 supports + - ruby-version: '2.0' + que-version: '0.14' - ruby-version: '2.5' - sidekiq-version: '7' + que-version: '0.14' + - ruby-version: '2.5' + que-version: '1' + - ruby-version: '2.7' + que-version: '1' uses: ./.github/workflows/run-maze-runner.yml with: - features: features/sidekiq.feature + features: features/que.feature ruby-version: ${{ matrix.ruby-version }} - sidekiq-version: ${{ matrix.sidekiq-version }} + que-version: ${{ matrix.que-version }} - delayed-job-maze-runner: + que-maze-runner3: strategy: fail-fast: false matrix: - ruby-version: ['2.5'] + include: + - ruby-version: '2.0' + que-version: '0.14' + - ruby-version: '2.5' + que-version: '0.14' + - ruby-version: '2.5' + que-version: '1' + - ruby-version: '2.7' + que-version: '1' uses: ./.github/workflows/run-maze-runner.yml with: - features: features/delayed_job.feature + features: features/que.feature ruby-version: ${{ matrix.ruby-version }} + que-version: ${{ matrix.que-version }} - rails-3-4-5-maze-runner: + que-maze-runner4: strategy: fail-fast: false matrix: - ruby-version: ['2.2', '2.5'] - rails-version: ['3', '4', '5'] include: - ruby-version: '2.0' - rails-version: '3' - - ruby-version: '2.6' - rails-version: '5' - exclude: - - ruby-version: '2.2' - rails-version: '3' + que-version: '0.14' + - ruby-version: '2.5' + que-version: '0.14' - ruby-version: '2.5' - rails-version: '5' + que-version: '1' + - ruby-version: '2.7' + que-version: '1' uses: ./.github/workflows/run-maze-runner.yml with: - features: features/rails_features/ --tags @rails${{ matrix.rails-version }} + features: features/que.feature ruby-version: ${{ matrix.ruby-version }} - rails-version: ${{ matrix.rails-version }} + que-version: ${{ matrix.que-version }} - rails-6-7-integrations-maze-runner: + que-maze-runner5: strategy: fail-fast: false matrix: - ruby-version: ['2.7', '3.2'] - rails-version: ['6', '7', '_integrations'] include: + - ruby-version: '2.0' + que-version: '0.14' + - ruby-version: '2.5' + que-version: '0.14' - ruby-version: '2.5' - rails-version: '6' - exclude: + que-version: '1' - ruby-version: '2.7' - rails-version: '6' - - ruby-version: '3.2' - rails-version: '_integrations' + que-version: '1' uses: ./.github/workflows/run-maze-runner.yml with: - features: features/rails_features/ --tags @rails${{ matrix.rails-version }} + features: features/que.feature ruby-version: ${{ matrix.ruby-version }} - rails-version: ${{ matrix.rails-version }} + que-version: ${{ matrix.que-version }} - plain-maze-runner: + que-maze-runner6: strategy: fail-fast: false matrix: - ruby-version: ['1.9', '2.0', '2.1', '2.2', '2.3', '2.4', '2.5', '2.6', '2.7', '3.0', '3.1', '3.2'] + include: + - ruby-version: '2.0' + que-version: '0.14' + - ruby-version: '2.5' + que-version: '0.14' + - ruby-version: '2.5' + que-version: '1' + - ruby-version: '2.7' + que-version: '1' uses: ./.github/workflows/run-maze-runner.yml with: - features: features/plain_features/ + features: features/que.feature ruby-version: ${{ matrix.ruby-version }} + que-version: ${{ matrix.que-version }} diff --git a/.github/workflows/test-package.yml b/.github/workflows/test-package.yml deleted file mode 100644 index aa9efbc5..00000000 --- a/.github/workflows/test-package.yml +++ /dev/null @@ -1,54 +0,0 @@ -name: test - -on: [push, pull_request] - -jobs: - specs: - runs-on: ${{ matrix.os || 'ubuntu-latest' }} - - strategy: - fail-fast: false - matrix: - ruby-version: ['2.3', '2.4', '2.5', '2.6', '2.7', '3.0', '3.1', '3.2'] - optional-groups: ['test sidekiq'] - include: - - ruby-version: '1.9' - optional-groups: 'test' - - ruby-version: '2.0' - optional-groups: 'test' - - ruby-version: '2.1' - optional-groups: 'test' - - ruby-version: '2.2' - optional-groups: 'test sidekiq' - os: 'ubuntu-20.04' - - ruby-version: 'jruby' - optional-groups: 'test' - - steps: - - uses: actions/checkout@v3 - - - name: install Ruby - uses: ruby/setup-ruby@v1 - with: - ruby-version: ${{ matrix.ruby-version }} - - - run: bundle install --with "${{ matrix.optional-groups }}" --binstubs - - - run: ./bin/rake spec - - linting: - runs-on: ubuntu-latest - - env: - BUNDLE_WITH: rubocop - - steps: - - uses: actions/checkout@v3 - - - name: install Ruby - uses: ruby/setup-ruby@v1 - with: - ruby-version: 2.7 - bundler-cache: true - - - run: bundle exec rubocop lib/