Skip to content

refactor: move address resolution and ownership to AddressManager #13914

refactor: move address resolution and ownership to AddressManager

refactor: move address resolution and ownership to AddressManager #13914

Workflow file for this run

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