Sha256: 088d9e20f3a959e4b19857714461878e5392df8f55ad16eb196770365eb717e0

Contents?: true

Size: 1.09 KB

Versions: 12

Compression:

Stored size: 1.09 KB

Contents

---
name: Pipeline
on:
  - push
jobs:
  build:
    name: Build
    runs-on: ubuntu-20.04
    steps:
      - uses: actions/checkout@v2
        with:
          ref: ${{ github.event.pull_request.head.sha }}
      - uses: ruby/setup-ruby@v1
        with:
          bundler-cache: true
      - name: Fetch main branch
        run: git fetch origin main
      - uses: r7kamura/rubocop-problem-matchers-action@v1
      - uses: wealthsimple/toolbox-script@main
        name: RuboCop
        with:
          script: toolbox.ruby.lint.run()
      - name: Run rspec
        run: bundle exec rspec
      - name: Release the gem
        if: ${{ github.ref == 'refs/heads/main' }}
        run: |
          mkdir -p ~/.gem
          cat << EOF > ~/.gem/credentials
          ---
          :github: Bearer ${GITHUB_TOKEN}
          :rubygems_api_key: ${RUBYGEMS_API_KEY}
          EOF
          chmod 0600 ~/.gem/credentials
          git config user.email "noreply@wealthsimple.com"
          git config user.name "Wolfbot"
          bundle exec rake release
        env:
          RUBYGEMS_API_KEY: ${{ secrets.RUBYGEMS_API_KEY }}

Version data entries

12 entries across 12 versions & 1 rubygems

Version Path
ws-style-6.11.1 .github/workflows/pipeline.yml
ws-style-6.11.0 .github/workflows/pipeline.yml
ws-style-6.10.1 .github/workflows/pipeline.yml
ws-style-6.10.0 .github/workflows/pipeline.yml
ws-style-6.9.8 .github/workflows/pipeline.yml
ws-style-6.9.7 .github/workflows/pipeline.yml
ws-style-6.9.6 .github/workflows/pipeline.yml
ws-style-6.9.5 .github/workflows/pipeline.yml
ws-style-6.9.4 .github/workflows/pipeline.yml
ws-style-6.9.3 .github/workflows/pipeline.yml
ws-style-6.9.2 .github/workflows/pipeline.yml
ws-style-6.9.1 .github/workflows/pipeline.yml