Skip to content

PSG-4788 bump version + changelog #72

PSG-4788 bump version + changelog

PSG-4788 bump version + changelog #72

Workflow file for this run

name: PR Checks
on:
workflow_dispatch:
pull_request:
branches:
- main
paths:
- 'lib/passageidentity/version.rb'
- 'CHANGELOG.md'
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
with:
fetch-depth: 0 # Fetch all history for all branches
- 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'