Skip to content

Bump net-http from 0.4.1 to 0.5.0 #1977

Bump net-http from 0.4.1 to 0.5.0

Bump net-http from 0.4.1 to 0.5.0 #1977

Workflow file for this run

name: CI
on: [push]
jobs:
ruby:
runs-on: ubuntu-latest
continue-on-error: ${{ matrix.allow-failures }}
strategy:
matrix:
ruby: ['3.3']
allow-failures: [false]
include:
- ruby: head
allow-failures: true
steps:
- uses: actions/checkout@v4
- name: Set up Ruby ${{ matrix.ruby }}
uses: ruby/setup-ruby@v1
with:
ruby-version: ${{ matrix.ruby }}
- name: Init default config
env:
CHANGES_BOT_GH_USER: ${{ secrets.CHANGES_BOT_GH_USER }}
CHANGES_BOT_GH_PASS: ${{ secrets.CHANGES_BOT_GH_PASS }}
run: |
jq -n \
--arg gh_user "$CHANGES_BOT_GH_USER" \
--arg gh_pass "$CHANGES_BOT_GH_PASS" \
'{github_user: $gh_user, github_user_password: $gh_pass, "repos": [{"name": "ONLYOFFICE/build_tools"}]}' > config.json
- name: Build and test with Rake
run: |
gem install bundler
bundle install --jobs 4 --retry 3
bundle exec rake
- name: Check `simplecov` line coverage
run: cat coverage/.last_run.json | jq '.result.line' | grep -q '100'
- name: Check `simplecov` branch coverage
run: cat coverage/.last_run.json | jq '.result.branch' | grep -q '100'
- name: Check source files using `rubocop`
run: rubocop
- name: Check that code 100% documented
run: yardoc . | grep -q '100.00% documented'
docker:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Default Dockerfile build
run: docker build .