From 368343fdf2f505dad7bea017be7a07cf65df8c61 Mon Sep 17 00:00:00 2001 From: Kevin Nowaczyk Date: Mon, 12 Feb 2024 09:32:14 -0500 Subject: [PATCH 1/8] Update lint_vba.yml --- .github/workflows/lint_vba.yml | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/.github/workflows/lint_vba.yml b/.github/workflows/lint_vba.yml index 664c405..0c182af 100644 --- a/.github/workflows/lint_vba.yml +++ b/.github/workflows/lint_vba.yml @@ -12,5 +12,18 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v3 + - name: Build Grammar + run: | + wget https://raw.githubusercontent.com/Beakerboy/grammars-v4/coverage/vba/vba_cc/vba_cc.g4 + antlr4 -Dlanguage=Python3 -o deliverables -listener -visitor vba_cc.g4 + stubgen ./deliverables -o ./deliverables + mv deliverables/*.py src/vba_precompiler/grammar + mv deliverables/*.pyi src/vba_precompiler/grammar + - name: Precompile + run: | + python -m pip install --upgrade pip + pip install 'vba_precompiler @ git+https://github.com/Beakerboy/VBA-Precompiler@dev' + python -m vba_precompiler ./src + rm -rf ./src - name: Lint uses: Vba-actions/lint-vba@main From b394933dab81a572956bb78b20f8fc6bb25e04c2 Mon Sep 17 00:00:00 2001 From: Kevin Nowaczyk Date: Mon, 12 Feb 2024 09:33:53 -0500 Subject: [PATCH 2/8] Update lint_vba.yml --- .github/workflows/lint_vba.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/lint_vba.yml b/.github/workflows/lint_vba.yml index 0c182af..eaeba61 100644 --- a/.github/workflows/lint_vba.yml +++ b/.github/workflows/lint_vba.yml @@ -14,6 +14,7 @@ jobs: - uses: actions/checkout@v3 - name: Build Grammar run: | + python -m pip install antlr4-python3-runtime wget https://raw.githubusercontent.com/Beakerboy/grammars-v4/coverage/vba/vba_cc/vba_cc.g4 antlr4 -Dlanguage=Python3 -o deliverables -listener -visitor vba_cc.g4 stubgen ./deliverables -o ./deliverables From b14b208db3b45cda3e6b22917858bef683400838 Mon Sep 17 00:00:00 2001 From: Kevin Nowaczyk Date: Mon, 12 Feb 2024 09:35:53 -0500 Subject: [PATCH 3/8] Update lint_vba.yml --- .github/workflows/lint_vba.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/lint_vba.yml b/.github/workflows/lint_vba.yml index eaeba61..4217d64 100644 --- a/.github/workflows/lint_vba.yml +++ b/.github/workflows/lint_vba.yml @@ -15,6 +15,7 @@ jobs: - name: Build Grammar run: | python -m pip install antlr4-python3-runtime + python -m pip install antlr4-tools wget https://raw.githubusercontent.com/Beakerboy/grammars-v4/coverage/vba/vba_cc/vba_cc.g4 antlr4 -Dlanguage=Python3 -o deliverables -listener -visitor vba_cc.g4 stubgen ./deliverables -o ./deliverables From 2176252e8886806ab667c7198f28bf74e81947e5 Mon Sep 17 00:00:00 2001 From: Kevin Nowaczyk Date: Mon, 12 Feb 2024 09:37:15 -0500 Subject: [PATCH 4/8] Update lint_vba.yml --- .github/workflows/lint_vba.yml | 1 - 1 file changed, 1 deletion(-) diff --git a/.github/workflows/lint_vba.yml b/.github/workflows/lint_vba.yml index 4217d64..fb64507 100644 --- a/.github/workflows/lint_vba.yml +++ b/.github/workflows/lint_vba.yml @@ -18,7 +18,6 @@ jobs: python -m pip install antlr4-tools wget https://raw.githubusercontent.com/Beakerboy/grammars-v4/coverage/vba/vba_cc/vba_cc.g4 antlr4 -Dlanguage=Python3 -o deliverables -listener -visitor vba_cc.g4 - stubgen ./deliverables -o ./deliverables mv deliverables/*.py src/vba_precompiler/grammar mv deliverables/*.pyi src/vba_precompiler/grammar - name: Precompile From 0e9b7d9a209ee07d4565ce180897578364b32d10 Mon Sep 17 00:00:00 2001 From: Kevin Nowaczyk Date: Mon, 12 Feb 2024 11:26:59 -0500 Subject: [PATCH 5/8] Update lint_vba.yml --- .github/workflows/lint_vba.yml | 8 -------- 1 file changed, 8 deletions(-) diff --git a/.github/workflows/lint_vba.yml b/.github/workflows/lint_vba.yml index fb64507..aea0faa 100644 --- a/.github/workflows/lint_vba.yml +++ b/.github/workflows/lint_vba.yml @@ -12,14 +12,6 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v3 - - name: Build Grammar - run: | - python -m pip install antlr4-python3-runtime - python -m pip install antlr4-tools - wget https://raw.githubusercontent.com/Beakerboy/grammars-v4/coverage/vba/vba_cc/vba_cc.g4 - antlr4 -Dlanguage=Python3 -o deliverables -listener -visitor vba_cc.g4 - mv deliverables/*.py src/vba_precompiler/grammar - mv deliverables/*.pyi src/vba_precompiler/grammar - name: Precompile run: | python -m pip install --upgrade pip From 58853c5a2115791c200d9dcf4fb40cf4c276119c Mon Sep 17 00:00:00 2001 From: Kevin Nowaczyk Date: Tue, 13 Feb 2024 11:37:35 -0500 Subject: [PATCH 6/8] Update lint_vba.yml --- .github/workflows/lint_vba.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/lint_vba.yml b/.github/workflows/lint_vba.yml index aea0faa..62310c8 100644 --- a/.github/workflows/lint_vba.yml +++ b/.github/workflows/lint_vba.yml @@ -19,4 +19,4 @@ jobs: python -m vba_precompiler ./src rm -rf ./src - name: Lint - uses: Vba-actions/lint-vba@main + uses: Vba-actions/lint-vba@dev From 783452c00fd65fee1330044526df003817f9c4ab Mon Sep 17 00:00:00 2001 From: Kevin Nowaczyk Date: Tue, 13 Feb 2024 12:22:05 -0500 Subject: [PATCH 7/8] Update lint_vba.yml --- .github/workflows/lint_vba.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/lint_vba.yml b/.github/workflows/lint_vba.yml index 62310c8..c37fa23 100644 --- a/.github/workflows/lint_vba.yml +++ b/.github/workflows/lint_vba.yml @@ -18,5 +18,6 @@ jobs: pip install 'vba_precompiler @ git+https://github.com/Beakerboy/VBA-Precompiler@dev' python -m vba_precompiler ./src rm -rf ./src + cat ./build/Modules/ObjectIntrospection.bas - name: Lint uses: Vba-actions/lint-vba@dev From 78b5962ce926bdbe3d0d189ddde3b6fa7837c5d2 Mon Sep 17 00:00:00 2001 From: Kevin Nowaczyk Date: Tue, 13 Feb 2024 14:21:19 -0500 Subject: [PATCH 8/8] Update lint_vba.yml --- .github/workflows/lint_vba.yml | 1 - 1 file changed, 1 deletion(-) diff --git a/.github/workflows/lint_vba.yml b/.github/workflows/lint_vba.yml index c37fa23..62310c8 100644 --- a/.github/workflows/lint_vba.yml +++ b/.github/workflows/lint_vba.yml @@ -18,6 +18,5 @@ jobs: pip install 'vba_precompiler @ git+https://github.com/Beakerboy/VBA-Precompiler@dev' python -m vba_precompiler ./src rm -rf ./src - cat ./build/Modules/ObjectIntrospection.bas - name: Lint uses: Vba-actions/lint-vba@dev