Skip to content

Update README.md with detailed instructions for obtaining account ID #2

Update README.md with detailed instructions for obtaining account ID

Update README.md with detailed instructions for obtaining account ID #2

Workflow file for this run

name: CI
on:
push:
branches: [ main, develop ]
pull_request:
branches: [ main, develop ]
# No environment variables needed for mocked tests
jobs:
test:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
ruby-version:
- '3.0'
- '3.1'
- '3.2'
- '3.3'
steps:
- uses: actions/checkout@v4
- name: Set up Ruby ${{ matrix.ruby-version }}
uses: ruby/setup-ruby@v1
with:
ruby-version: ${{ matrix.ruby-version }}
bundler-cache: true
- name: Install dependencies
run: bundle install
- name: Run unit tests
run: bundle exec rake test:unit
- name: Run RuboCop
run: bundle exec rubocop
continue-on-error: true
integration_test:
runs-on: ubuntu-latest
needs: test
steps:
- uses: actions/checkout@v4
- name: Set up Ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: '3.3'
bundler-cache: true
- name: Install dependencies
run: bundle install
- name: Run integration tests with VCR cassettes
run: bundle exec rake test:integration
security:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up Ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: '3.3'
bundler-cache: true
- name: Install dependencies
run: bundle install
- name: Run bundle audit
run: |
gem install bundler-audit
bundle audit --update
- name: Run brakeman
run: |
gem install brakeman
brakeman --no-pager --format json --output /tmp/brakeman.json || true
cat /tmp/brakeman.json
continue-on-error: true