Skip to content

chore(deps): bump the jest group across 1 directory with 3 updates #1201

chore(deps): bump the jest group across 1 directory with 3 updates

chore(deps): bump the jest group across 1 directory with 3 updates #1201

name: Expression.g4 in sync
on: [push, pull_request]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Download Expression.g4 from RedHatInsights/policies-engine
run: curl -O https://raw.githubusercontent.com/RedHatInsights/policies-engine/master/src/main/antlr4/com/redhat/cloud/policies/engine/condition/Expression.g4
- name: Compare both files
run: diff Expression.g4 src/utils/Expression/Expression.g4 || (echo "Expression.g4 is out of sync, update by running yarn expression" && false)