Skip to content

Use a version constant instead of parsing gemspec #255

Use a version constant instead of parsing gemspec

Use a version constant instead of parsing gemspec #255

Workflow file for this run

name: PR Checks
on:
workflow_dispatch:
pull_request:
branches:
- main
env:
API_KEY: ${{ secrets.API_KEY }}
APP_ID: ${{ secrets.APP_ID }}
PSG_JWT: ${{ secrets.PSG_JWT }}
TEST_USER_ID: ${{ secrets.TEST_USER_ID }}
jobs:
build:
name: Test and Lint
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: ruby/setup-ruby@v1
with:
ruby-version: '3.1'
- name: Run Tests
run: |
bundle install
ruby tests/all.rb
- name: Run Linting
run: |
npm install -g prettier @prettier/plugin-ruby
prettier --check '**/*.rb'