feat: add kernel plugin network timers #1
Workflow file for this run
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: Kernel plugin Go checks | |
| on: | |
| pull_request: | |
| paths: | |
| - ".github/workflows/kernel-plugin-go.yml" | |
| - "kernel/api/**" | |
| - "kernel/filesys/**" | |
| - "kernel/model/**" | |
| - "kernel/plugin/**" | |
| - "kernel/third_party/filelock/**" | |
| - "kernel/treenode/**" | |
| - "kernel/go.mod" | |
| - "kernel/go.sum" | |
| push: | |
| branches: [dev, master] | |
| paths: | |
| - ".github/workflows/kernel-plugin-go.yml" | |
| - "kernel/api/**" | |
| - "kernel/filesys/**" | |
| - "kernel/model/**" | |
| - "kernel/plugin/**" | |
| - "kernel/third_party/filelock/**" | |
| - "kernel/treenode/**" | |
| - "kernel/go.mod" | |
| - "kernel/go.sum" | |
| workflow_dispatch: | |
| permissions: | |
| contents: read | |
| concurrency: | |
| group: kernel-plugin-go-${{ github.workflow }}-${{ github.ref }} | |
| cancel-in-progress: true | |
| jobs: | |
| test: | |
| runs-on: ubuntu-latest | |
| timeout-minutes: 30 | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: actions/setup-go@v5 | |
| with: | |
| go-version-file: kernel/go.mod | |
| cache-dependency-path: kernel/go.sum | |
| - name: Test main-module file-lock reclamation | |
| working-directory: kernel | |
| run: go test -count=1 -timeout=5m ./api -run '^TestFileLockReclaimsIdleUniquePathEntries$' | |
| - name: Test kernel plugin surfaces | |
| working-directory: kernel | |
| run: go test -count=1 -timeout=20m ./api ./plugin | |
| - name: Test vendored file-lock module | |
| working-directory: kernel/third_party/filelock | |
| run: go test -count=3 -timeout=10m ./... |