Sha256: bd2a815f035c619c233bf8cb355e546105f62d814bfdd5d6dfad39c6df7b1ded

Contents?: true

Size: 1.18 KB

Versions: 38

Compression:

Stored size: 1.18 KB

Contents

---
name: Pipeline
on:
  - push
concurrency:
  group: ${{ github.workflow }}-${{ github.ref }}
  cancel-in-progress: true

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

38 entries across 38 versions & 1 rubygems

Version Path
ws-style-6.14.4 .github/workflows/pipeline.yml
ws-style-6.14.3 .github/workflows/pipeline.yml
ws-style-6.14.2 .github/workflows/pipeline.yml
ws-style-6.14.1 .github/workflows/pipeline.yml
ws-style-6.14.0 .github/workflows/pipeline.yml
ws-style-6.13.25 .github/workflows/pipeline.yml
ws-style-6.13.24 .github/workflows/pipeline.yml
ws-style-6.13.23 .github/workflows/pipeline.yml
ws-style-6.13.22 .github/workflows/pipeline.yml
ws-style-6.13.21 .github/workflows/pipeline.yml
ws-style-6.13.20 .github/workflows/pipeline.yml
ws-style-6.13.19 .github/workflows/pipeline.yml
ws-style-6.13.18 .github/workflows/pipeline.yml
ws-style-6.13.17 .github/workflows/pipeline.yml
ws-style-6.13.16 .github/workflows/pipeline.yml
ws-style-6.13.15 .github/workflows/pipeline.yml
ws-style-6.13.14 .github/workflows/pipeline.yml
ws-style-6.13.13 .github/workflows/pipeline.yml
ws-style-6.13.12 .github/workflows/pipeline.yml
ws-style-6.13.11 .github/workflows/pipeline.yml