Skip to content

feat: NEM12 headers and exporting #8

feat: NEM12 headers and exporting

feat: NEM12 headers and exporting #8

Workflow file for this run

---
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