Repository navigation
refactor: move address resolution and ownership to AddressManager #13914
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: Linters | |
| on: | |
| pull_request: | |
| merge_group: | |
| concurrency: | |
| group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }} | |
| cancel-in-progress: true | |
| permissions: | |
| checks: write | |
| contents: read | |
| issues: write | |
| pull-requests: write | |
| jobs: | |
| nph: | |
| name: Linters | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout repository | |
| uses: actions/checkout@v6 | |
| with: | |
| # The log audit needs the recorded PR base, which may predate the merge parents. | |
| fetch-depth: 0 | |
| persist-credentials: false | |
| - name: Check NPH formatting | |
| uses: arnetheduck/nph-action@v1 | |
| with: | |
| version: 0.7.0 | |
| options: "./. *.nim*" | |
| fail: true | |
| suggest: true | |
| - name: Check clang-format (C/H files in cbind/) | |
| run: | | |
| find cbind/ \( -name "*.c" -o -name "*.h" \) -print0 | \ | |
| xargs -0 clang-format --dry-run --Werror --style=file:cbind/.clang-format | |
| echo "All C/H files in cbind/ are properly formatted." | |
| - name: Check cbind dependency pins | |
| run: ./tools/check-cbind-pin.sh | |
| - name: Check Nimble lock versions | |
| run: python3 tools/check-nimble-lock.py | |
| - name: Run nim-lint checks | |
| uses: iftech/nim-lint@1.1.1 | |
| with: | |
| config: linter.nim | |
| semantic: true |