Add support for IP connections with hostname (#14) #76
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Ruby | |
on: [push,pull_request] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Set up Ruby | |
uses: ruby/setup-ruby@v1 | |
with: | |
ruby-version: 3.0.4 | |
- name: Run unit tests and code linting | |
run: | | |
gem install bundler -v 2.2.33 | |
bundle install | |
bundle exec rake | |
bundle exec rspec docker | |
bundle exec yard | |
- name: Deploy documentation | |
if: github.ref == 'refs/heads/main' | |
uses: crazy-max/[email protected] | |
with: | |
target_branch: gh-pages | |
build_dir: doc | |
env: | |
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}} | |
- name: Release Gem | |
if: contains(github.ref, 'refs/tags/v') | |
uses: dawidd6/[email protected] | |
with: | |
github_token: ${{secrets.GITHUB_TOKEN}} | |
api_key: ${{secrets.RUBYGEMS_API_KEY}} |