Sha256: 09da2503424fdaa39ec88be367edafb6e91872e520ef98985317e66e7519a1c8
Contents?: true
Size: 1.58 KB
Versions: 4
Compression:
Stored size: 1.58 KB
Contents
name: Ruby on: [push,pull_request] jobs: build: runs-on: ubuntu-latest strategy: matrix: ruby: - "2.5" - "2.6" - "2.7" - "3.0" steps: - uses: actions/checkout@v2 - name: Set up Ruby uses: ruby/setup-ruby@v1.62.0 with: ruby-version: ${{ matrix.ruby }} - name: Start Redis uses: supercharge/redis-github-action@1.2.0 with: redis-version: 6.2.4 - name: Run the default task env: CC_TEST_REPORTER_ID: ${{ secrets.CC_TEST_REPORTER_ID }} run: | gem install bundler -v 2.2.6 bundle install bundle exec rake - name: Send coverage to CodeClimate if: ${{ !env.ACT }} uses: paambaati/codeclimate-action@v2.7.5 env: CC_TEST_REPORTER_ID: ${{ secrets.CC_TEST_REPORTER_ID }} - name: Get coverage if: ${{ !env.ACT }} && github.ref == 'refs/heads/master' run: echo "COVERAGE=$(cat ./coverage/.last_run.json | jq -r '.result.line')%" >> $GITHUB_ENV - name: Testing variables if: ${{ !env.ACT }} && github.ref == 'refs/heads/master' run: echo '' # This empty step is required for `COVERAGE` to be available in the next step, unusre why - name: Create coverage badge if: ${{ !env.ACT }} && github.ref == 'refs/heads/master' uses: schneegans/dynamic-badges-action@v1.1.0 with: auth: ${{ secrets.GIST_SECRET }} gistID: 22954a8941d89a10237b7839e57267ec filename: coverage.json label: 'Coverage:' message: ${{ env.COVERAGE }} color: green
Version data entries
4 entries across 4 versions & 1 rubygems
Version | Path |
---|---|
race_block-0.3.0 | .github/workflows/main.yml |
race_block-0.2.2 | .github/workflows/main.yml |
race_block-0.2.1 | .github/workflows/main.yml |
race_block-0.2.0 | .github/workflows/main.yml |