feat: NEM12 headers and exporting #8
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: Test + lint | |
on: | |
pull_request: | |
push: | |
tags-ignore: | |
- '*' | |
paths-ignore: | |
- '*.md' | |
workflow_dispatch: | |
permissions: | |
contents: read | |
jobs: | |
lint: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Set up Ruby | |
uses: ruby/setup-ruby@v1 | |
with: | |
ruby-version: '3.2' | |
bundler-cache: true # runs 'bundle install' and caches installed gems automatically | |
- name: Run lints | |
run: bundle exec rubocop | |
test: | |
runs-on: ubuntu-latest | |
continue-on-error: ${{ matrix.experimental }} | |
strategy: | |
matrix: | |
ruby-version: ['3.1', '3.2'] | |
experimental: [false] | |
include: | |
- version: 'head' | |
experimental: true | |
steps: | |
- uses: actions/checkout@v4 | |
- name: experimental | |
run: 'echo "${{matrix.ruby-version}} is experimental: ${{matrix.experimental}}"' | |
- name: Set up Ruby | |
uses: ruby/setup-ruby@v1 | |
with: | |
ruby-version: ${{ matrix.ruby-version }} | |
bundler-cache: true # runs 'bundle install' and caches installed gems automatically | |
- name: Run tests | |
run: bundle exec rspec |