hack where attr for if_AdminStatus and if_OperStatus are not set for … #1144
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: Test on Pull Request | |
| on: | |
| push: | |
| branches-ignore: | |
| - 'staging' | |
| - 'main' | |
| jobs: | |
| test: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v2 | |
| with: | |
| submodules: recursive | |
| fetch-depth: 0 # Fetch all history for .GitInfo and .Lastmod | |
| - name: Setup Go | |
| uses: actions/setup-go@v2 | |
| with: | |
| go-version: '1.23.6' | |
| - name: Install dependencies | |
| run: sudo apt-get install make libpcap-dev | |
| - name: Run build | |
| run: | | |
| make | |
| - name: Run vet | |
| run: | | |
| go vet . | |
| - name: Run testing | |
| run: make test |