Sha256: ed046f764a3a3eb1fa14594dfc053fb611d269003000d617f22d76805efdc00f

Contents?: true

Size: 1.18 KB

Versions: 19

Compression:

Stored size: 1.18 KB

Contents

name: CI

on:
  pull_request:
    branches:
      - master
      - dev
      - dev-*

jobs:
  test:
    name: CI
    runs-on: ${{ matrix.os }}
    strategy:
      matrix:
        os: [ubuntu-latest]
    steps:
      - uses: actions/checkout@v1
      - uses: actions/setup-ruby@v1
        with:
          ruby-version: 2.6.x
      - name: Install dependencies
        run: |
          gem install bundler
          bundler install
      - name: Run tests
        run: bundle exec rspec spec --pattern **/spec_*.rb

      - name: Notify slack success
        if: success()
        env:
          SLACK_BOT_TOKEN: ${{ secrets.SLACK_BOT_TOKEN }}
        uses: voxmedia/github-action-slack-notify-build@v1.1.1
        with:
          message_id: ${{ steps.slack.outputs.message_id }}
          channel: github-actions
          status: SUCCESS
          color: good

      - name: Notify slack fail
        if: failure()
        env:
          SLACK_BOT_TOKEN: ${{ secrets.SLACK_BOT_TOKEN }}
        uses: voxmedia/github-action-slack-notify-build@v1.1.1
        with:
          message_id: ${{ steps.slack.outputs.message_id }}
          channel: github-actions
          status: FAILED
          color: danger

Version data entries

19 entries across 19 versions & 1 rubygems

Version Path
securenative-0.1.39 .github/workflows/ci.yml
securenative-0.1.38 .github/workflows/ci.yml
securenative-0.1.37 .github/workflows/ci.yml
securenative-0.1.36 .github/workflows/ci.yml
securenative-0.1.35 .github/workflows/ci.yml
securenative-0.1.34 .github/workflows/ci.yml
securenative-0.1.33 .github/workflows/ci.yml
securenative-0.1.32 .github/workflows/ci.yml
securenative-0.1.31 .github/workflows/ci.yml
securenative-0.1.30 .github/workflows/ci.yml
securenative-0.1.28 .github/workflows/ci.yml
securenative-0.1.27 .github/workflows/ci.yml
securenative-0.1.26 .github/workflows/ci.yml
securenative-0.1.24 .github/workflows/ci.yml
securenative-0.1.23 .github/workflows/ci.yml
securenative-0.1.22 .github/workflows/ci.yml
securenative-0.1.21 .github/workflows/ci.yml
securenative-0.1.20 .github/workflows/ci.yml
securenative-0.1.18 .github/workflows/ci.yml