Rescue plug library error on initialisation #24
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: ci | |
on: | |
pull_request: | |
push: | |
branches: | |
- master | |
jobs: | |
rubocop: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Rubocop Linter Action | |
uses: andrewmcodes/[email protected] | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
markdownlint: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Check out code | |
uses: actions/checkout@v2 | |
- name: Run Markdown Lint | |
uses: actionshub/markdownlint@main | |
test: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
ruby: [ '2.5', '2.6', '2.7', '3.0', '3.1', '3.2' ] | |
name: Ruby ${{ matrix.ruby }} | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: ruby/setup-ruby@v1 | |
with: | |
ruby-version: ${{ matrix.ruby }} | |
bundler-cache: true | |
- run: | | |
ruby -v | |
bundle exec influx_hs110_energy.rb -h | |
... |