Skip to content

docs: README.md: update buil shields URLs #7

docs: README.md: update buil shields URLs

docs: README.md: update buil shields URLs #7

Workflow file for this run

name: lint
on:
pull_request:
push:
branches: [master, 0.1x]
env:
GIT_COMMIT_SHA: ${{ github.sha }}
GIT_BRANCH: ${{ github.ref }}
CC_TEST_REPORTER_ID: ${{ secrets.CC_TEST_REPORTER_ID }}
jobs:
linting:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- name: Set up Ruby 3.2
uses: ruby/setup-ruby@v1
with:
ruby-version: 3.2
- name: Rubocop
run: |
gem install bundler
bundle config set without 'development test'
bundle config set with 'lint'
bundle install
bundle exec rubocop --format progress
- name: Yard-Junk
run: |
gem install yard-junk --no-document
yard-junk --path lib
build:
needs: [linting]
runs-on: ubuntu-latest
name: build ${{ matrix.ruby }}
strategy:
fail-fast: false
matrix:
ruby: ['3.3', '3.2']
# ruby: ['2.4', '2.5', '2.6', '2.7', '3.0']
steps:
- uses: actions/checkout@v1
- uses: ruby/setup-ruby@v1
with:
ruby-version: ${{ matrix.ruby }}
- name: Install dependencies
run: |
sudo apt-get install libcurl4-openssl-dev
- name: Build
run: |
gem install bundler -v '<2'
bundle install --jobs 4 --retry 3
- name: Test
continue-on-error: ${{ matrix.experimental }}
run: bundle exec rake