Sha256: 53a3ace76754d02ce83e3759a47965da8cfadcb08304c53b9bc1bd9502d9852a
Contents?: true
Size: 1.36 KB
Versions: 4
Compression:
Stored size: 1.36 KB
Contents
name: Rspec and Release on: push: pull_request: workflow_dispatch: jobs: rspec: strategy: fail-fast: false matrix: os: [ubuntu-latest, macos-latest] # Due to https://github.com/actions/runner/issues/849, we have to use quotes for '3.0' ruby: [2.7, '3.0', '3.1'] runs-on: ${{ matrix.os }} steps: - uses: actions/checkout@v3 - name: Set up Ruby uses: ruby/setup-ruby@v1 with: ruby-version: ${{ matrix.ruby }} bundler-cache: true - name: Test with Rspec run: | bundle exec rspec --format documentation --require spec_helper release: if: github.event_name == 'push' needs: rspec runs-on: ubuntu-latest env: BUNDLE_DEPLOYMENT: true steps: - uses: actions/checkout@v3 - name: Set up Ruby uses: ruby/setup-ruby@v1 with: ruby-version: 2.7 bundler-cache: true - name: Zip run : | zip -r datadog_backup.zip ./* - name: Semantic Release id: semantic uses: cycjimmy/semantic-release-action@v3 env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} GEM_HOST_API_KEY: ${{ secrets.RUBYGEMS_API_TOKEN }} with: semantic_version: 17 extra_plugins: | @semantic-release/changelog@5 @semantic-release/git@9 semantic-release-rubygem@1
Version data entries
4 entries across 4 versions & 1 rubygems