(feat) Add masking to python middleware #3049
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: ruby | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
jobs: | |
integration: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-node@v4 | |
with: | |
node-version: 20 | |
- run: npm ci --ignore-scripts | |
- run: make test-metrics-ruby-rails | |
- run: make test-webhooks-ruby-rails | |
- name: Cleanup | |
if: always() | |
run: docker compose down | |
build: | |
runs-on: ubuntu-latest | |
defaults: | |
run: | |
working-directory: packages/ruby | |
strategy: | |
matrix: | |
ruby-version: | |
# https://endoflife.date/ruby | |
- 2.7 # EOL: March 31st, 2023 | |
- '3.0' # EOL: March 31st, 2024 | |
- 3.1 # EOL: December 25th, 2025 | |
rack-version: | |
# This will install the latest v2 | |
- -v '>= 2.2' -v '< 3' | |
# This will install the latest v3 | |
- -v '>= 2.2' -v '< 4' | |
name: build (${{ matrix.ruby-version }} w/ Rack ${{ matrix.rack-version }} | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: ruby/setup-ruby@v1 | |
with: | |
ruby-version: ${{ matrix.ruby-version }} | |
- name: Install dependencies | |
run: | | |
make install | |
gem install rack ${{ matrix.rack-version }} | |
- name: Run linter | |
run: make lint | |
- name: Run tests | |
run: make test |