PSG-4788 bump version + changelog #72
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: 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' |