tt_003
func_us_80176814 decompilation
#5087
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: Linter | |
on: | |
push: | |
branches-ignore: | |
- master | |
pull_request_target: | |
workflow_dispatch: | |
jobs: | |
linter: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Install requirements | |
run: sudo apt-get install clang-format | |
- name: Install python | |
uses: actions/setup-python@v5 | |
with: | |
python-version: '3.10' | |
- name: Install black | |
run: pip install black pyyaml mapfile-parser==2.1.4 | |
- name: Clone main repo (PR) | |
if: github.event_name == 'pull_request_target' | |
uses: actions/checkout@v4 | |
with: | |
ref: ${{ github.event.pull_request.head.sha }} | |
submodules: false | |
- name: Clone main repo | |
if: github.event_name != 'pull_request_target' | |
uses: actions/checkout@v4 | |
with: | |
ref: ${{ github.ref }} | |
submodules: false | |
- name: Format code | |
run: make format | |
- name: Check for pending changes | |
run: git diff --exit-code |