add support for hooks #30
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: | |
spec: | |
runs-on: ubuntu-latest | |
steps: | |
- name: check out repository | |
uses: actions/checkout@v3 | |
- name: set up Ruby | |
uses: ruby/setup-ruby@v1 | |
with: | |
bundler-cache: true | |
ruby-version: ${{ matrix.ruby }} | |
- name: install dependencies | |
run: bundle install | |
- name: install wireguard | |
run: sudo apt install -y wireguard | |
- name: run rspec | |
run: bundle exec rake spec | |
strategy: | |
fail-fast: false | |
matrix: | |
ruby: ['2.5','2.7', '3.0', '3.1','head','jruby','jruby-head'] |