1+ # Copyright 2020 Chris Morgan <chmorgan@gmail.com>
2+ # SPDX-License-Identifier: MIT
3+
14name : .NET Core
25
36on :
1316
1417 steps :
1518 - uses : actions/checkout@v4
16- - name : Setup .NET Core
17- uses : actions/setup-dotnet@v3
1819 with :
19- dotnet-version : 6.0.x
20- - name : Install .net dependencies
21- run : dotnet restore
20+ fetch-depth : 0
2221 - name : Install libpcap
2322 run : sudo -E bash scripts/install-libpcap.sh
2423 - name : Install tap
@@ -27,15 +26,17 @@ jobs:
2726 run : dotnet build SharpPcap/SharpPcap.csproj
2827 - name : Test
2928 run : sudo -E bash scripts/test.sh
29+ # env:
30+ # CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
3031
3132 - run : sudo chmod -R +r Test/TestResults
3233 if : always()
3334 - name : Publish Test Report
34- uses : mikepenz/action-junit-report@v4
35+ uses : mikepenz/action-junit-report@v5
3536 if : always()
3637 with :
3738 report_paths : Test/TestResults/TestResults.xml
38- - uses : actions/upload-artifact@v3
39+ - uses : actions/upload-artifact@v4
3940 if : failure()
4041 with :
4142 name : artifacts
5354
5455 # Flag to toggle pushing symbols along with nuget package to the server, disabled by default
5556 INCLUDE_SYMBOLS : true
57+
58+ # license-check:
59+ # # We use https://github.com/fsfe/reuse-tool to ensure EVERY file has correct license and copyright info
60+ # # Either in the file itself, or in .reuse\dep5 for binary files and files that don't support comments
61+ # runs-on: ubuntu-latest
62+ # steps:
63+ # - uses: actions/checkout@v4
64+ # - uses: actions/setup-python@v5
65+ # with:
66+ # python-version: '3.10'
67+ # - run: pip install -r requirements.txt
68+ # - run: reuse lint
0 commit comments