Skip to content

pci: add Walk, Ancestors and Root helpers on Device #331

pci: add Walk, Ancestors and Root helpers on Device

pci: add Walk, Ancestors and Root helpers on Device #331

Workflow file for this run

name: fmtcheck
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
permissions:
contents: read
jobs:
fmtcheck:
runs-on: ubuntu-latest
steps:
- name: harden runner
uses: step-security/harden-runner@fa2e9d605c4eeb9fcad4c99c224cee0c6c7f3594 # v2.16.0
with:
egress-policy: block
disable-sudo: true
allowed-endpoints: >
github.com:443
api.github.com:443
proxy.github.com:443
proxy.golang.org:443
raw.githubusercontent.com:443
objects.githubusercontent.com:443
proxy.golang.org:443
storage.googleapis.com:443
release-assets.githubusercontent.com:443
- name: checkout code
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
- name: setup go
uses: actions/setup-go@4b73464bb391d4059bd26b0524d20df3927bd417 # v6.3.0
with:
go-version: 1.26
- name: check fmt
run: 'bash -c "diff -u <(echo -n) <(gofmt -d .)"'