Sha256: 5dbb1f9fc40912ac0c91577018e175c0b717cfa7940df14235d25cf4f585ac8f

Contents?: true

Size: 835 Bytes

Versions: 7

Compression:

Stored size: 835 Bytes

Contents

name: Build Ruby Gem

on:
  push:
    branches:
      - "master"
jobs:
  build:
    runs-on: ubuntu-latest
    env:
      SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_URL }}
    steps:
    - uses: actions/checkout@v2
    - name: Set up Ruby 2.7
      uses: actions/setup-ruby@v1
      with:
        ruby-version: 2.7.x

    - name: Build and test
      run: |
        gem install bundler
        bundle install
        bundle exec rspec

    # - name: Publish code coverage
    #   uses: paambaati/codeclimate-action@v2.7.4
    #   env:
    #     CC_TEST_REPORTER_ID: ${{ secrets.CC_TEST_REPORTER_ID }}

    - name: Notify Slack
      uses: adamkdean/simple-slack-notify@1.0.4
      with:
        channel: '#ops'
        username: 'GitHub Actions'
        color: 'good'
        text: 'A new version of the briard gem has been built.'

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
briard-2.6.1 .github/workflows/build.yml
briard-2.6.0 .github/workflows/build.yml
briard-2.4.2 .github/workflows/build.yml
briard-2.4.1 .github/workflows/build.yml
briard-2.4 .github/workflows/build.yml
briard-2.3.1 .github/workflows/build.yml
briard-2.3 .github/workflows/build.yml