/
githubmirror
/
x64dbg
Обзор
Документация
Войти
/
githubmirror
/
x64dbg
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
development
.github/workflows/format.yml
41 строка
1 KB
Duncan Ogilvie
Bump github actions versions
12 апр 2026, 20:08
12 апр 2026, 20:08
6c7cc74
Код
Авторство
О чём код?
name: Format on: push: pull_request: jobs: format: # Skip checking pull requests from the same repository if: ${{ github.event_name != 'pull_request' || github.event.pull_request.head.repo.full_name != github.repository }} runs-on: windows-latest defaults: run: shell: bash steps: - name: Checkout uses: actions/checkout@v6 - name: Run Formatter run: .github/format/AStyleHelper.exe Silent || true - name: Check for Changes id: check_changes run: | git diff --exit-code continue-on-error: true - name: Report Failure if: steps.check_changes.outcome == 'failure' run: | echo "::error::Code is not formatted correctly! Please run 'format.bat' locally and commit the changes." git diff --color git diff > format.patch exit 1 - name: Upload Patch if: failure() uses: actions/upload-artifact@v7 with: name: format-patch path: format.patch