diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index ad38651..74589b0 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -1,30 +1,18 @@ name: CI on: - - pull_request - - push + pull_request: + push: + branches: + - master + +concurrency: + group: ${{ github.ref_name }}-${{ github.workflow }} + cancel-in-progress: true jobs: test: - runs-on: ubuntu-latest - strategy: - fail-fast: false - matrix: - ruby: - - "2.5" - - "2.6" - - "2.7" - name: Ruby ${{ matrix.ruby }} - steps: - - uses: actions/checkout@v3 - - name: Install development headers - run: sudo apt install libkrb5-dev libldap-dev libsasl2-dev -y - - 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 test - - name: Verify gem builds - run: gem build *.gemspec + name: Tests + uses: theforeman/actions/.github/workflows/smart_proxy_plugin.yml@v0 + with: + extra_packages: "libkrb5-dev libldap-dev libsasl2-dev"