fix: Wait until NIC device is initialized and udev rules are applied #202
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: "Checks" | |
| on: [push, pull_request] | |
| jobs: | |
| lint-code: | |
| name: golangci-lint | |
| runs-on: ubuntu-24.04 | |
| permissions: | |
| contents: read | |
| steps: | |
| - name: Set up Go 1.x | |
| uses: actions/setup-go@v6 | |
| with: | |
| go-version: '1.24.x' | |
| - name: checkout | |
| uses: actions/checkout@v5 | |
| - name: lint | |
| working-directory: ./entrypoint | |
| run: make lint | |
| diff-modules: | |
| name: check go modules | |
| runs-on: ubuntu-24.04 | |
| permissions: | |
| contents: read | |
| steps: | |
| - name: Set up Go 1.x | |
| uses: actions/setup-go@v6 | |
| with: | |
| go-version: '1.24.x' | |
| - name: checkout | |
| uses: actions/checkout@v5 | |
| - name: check go modules | |
| working-directory: ./entrypoint | |
| run: make check-go-modules | |
| unit-tests: | |
| name: Unit-tests | |
| runs-on: ubuntu-24.04 | |
| permissions: | |
| contents: read | |
| steps: | |
| - name: Set up Go 1.x | |
| uses: actions/setup-go@v6 | |
| with: | |
| go-version: '1.24.x' | |
| - name: checkout | |
| uses: actions/checkout@v5 | |
| - name: test | |
| working-directory: ./entrypoint | |
| run: make unit-test | |
| - name: Generate LCOV report | |
| working-directory: ./entrypoint | |
| run: | | |
| go install github.com/jandelgado/gcov2lcov@latest | |
| gcov2lcov -infile=cover.out -outfile=coverage.lcov | |
| - name: Upload coverage to Coveralls | |
| uses: coverallsapp/[email protected] | |
| with: | |
| github-token: ${{ secrets.GITHUB_TOKEN }} | |
| path-to-lcov: entrypoint/coverage.lcov |