Add peephole optimization #69
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: Static validation | |
on: | |
push: | |
branches: ['main'] | |
pull_request: | |
branches: ['**'] # for all submitted Pull Requests | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: setup python | |
uses: actions/setup-python@v4 | |
with: | |
python-version: '3.10' # install the python version needed | |
- name: execute static checks | |
run: .hooks/pre-commit | |
- name: Get changed files in the docs folder | |
id: changed-files-specific | |
uses: tj-actions/changed-files@v35 | |
with: | |
files: src/**/*.v | |
- name: Get new nochecks | |
run: python .hooks/Nocheck_finder.py ${{ steps.changed-files-specific.outputs.all_changed_files }} |