Merge pull request #45 from emmachase/patch-8 #172
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: Clippy | |
| on: push | |
| jobs: | |
| clippy-windows: | |
| name: Clippy Windows | |
| runs-on: windows-latest | |
| steps: | |
| - name: Checkout Source Code | |
| uses: actions/checkout@v4 | |
| - name: Get Rust Toolchain | |
| uses: actions-rs/toolchain@v1 | |
| with: | |
| toolchain: stable | |
| components: clippy | |
| - name: Clippy on pktmon ver | |
| uses: actions-rs/cargo@v1 | |
| with: | |
| command: clippy | |
| args: --features pktmon | |
| - name: Get Npcap Sdk | |
| run: | | |
| curl https://npcap.com/dist/npcap-sdk-1.15.zip -o sdk.zip | |
| unzip sdk.zip | |
| - name: Clippy on npcap ver | |
| uses: actions-rs/cargo@v1 | |
| with: | |
| command: clippy | |
| args: --features pcap | |
| env: | |
| LIB: ${{ github.workspace }}/Lib/x64/ | |
| clippy-linux: | |
| name: Clippy Linux | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout Source Code | |
| uses: actions/checkout@v4 | |
| - name: Get Rust Toolchain | |
| uses: actions-rs/toolchain@v1 | |
| with: | |
| toolchain: stable | |
| components: clippy | |
| - name: Clippy | |
| uses: actions-rs/cargo@v1 | |
| with: | |
| command: clippy | |
| args: --features pcap | |
| clippy-macos: | |
| name: Clippy Macos | |
| runs-on: macos-latest | |
| steps: | |
| - name: Checkout Source Code | |
| uses: actions/checkout@v4 | |
| - name: Get Rust Toolchain | |
| uses: actions-rs/toolchain@v1 | |
| with: | |
| toolchain: stable | |
| components: clippy | |
| - name: Clippy | |
| uses: actions-rs/cargo@v1 | |
| with: | |
| command: clippy | |
| args: --features pcap |