fix use-after-free due to race condition with ASAN enabled #719
This file contains hidden or 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: misc | |
| on: | |
| push: | |
| branches: | |
| - main | |
| pull_request: | |
| jobs: | |
| license-header-check: | |
| runs-on: ubuntu-latest | |
| env: | |
| HAWKEYE_VERSION: v5.5.1 | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Download HawkEye | |
| run: curl --proto '=https' --tlsv1.2 -LsSf https://github.com/korandoru/hawkeye/releases/download/$HAWKEYE_VERSION/hawkeye-installer.sh | sh | |
| - name: Check License Header | |
| run: | | |
| hawkeye format || true | |
| git diff --exit-code | |
| moon-json-format-check: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: check `moon.*.json` format | |
| shell: bash | |
| run: | | |
| _passed=0; | |
| for f in $(find . -type f -name "moon.*.json"); do | |
| if ! jq '.' $f > /dev/null; then | |
| echo $f; | |
| _passed=1; | |
| fi | |
| done | |
| (exit $_passed) |