Skip to content

feat: Implement universal name validation regex for multiple cultures #302

feat: Implement universal name validation regex for multiple cultures

feat: Implement universal name validation regex for multiple cultures #302

Workflow file for this run

name: (i18nify-go) Unit Tests
on:
pull_request:
jobs:
# JOB to run change detection
check-if-i18nify-go:
runs-on: ubuntu-latest
outputs:
modified: ${{ steps.filter.outputs.src }}
steps:
- uses: dorny/paths-filter@v3
id: filter
with:
filters: |
src:
- 'packages/i18nify-go/**'
run-test:
name: Run Unit Tests
runs-on: ubuntu-latest
needs: check-if-i18nify-go
if: |
needs.check-if-i18nify-go.outputs.modified == 'true' && !(github.head_ref == 'changeset-release/master' && github.actor == 'rzpcibot') &&
!contains(github.event.head_commit.message, '[skip ci]')
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Set up Go
uses: actions/setup-go@v5
with:
go-version: '1.20'
- name: Run Unit Tests
run: |
cd $GITHUB_WORKSPACE/packages/i18nify-go
go test -v github.com/razorpay/i18nify/packages/i18nify-go/modules/...