diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 3edecee5..05f7c7ee 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -40,10 +40,11 @@ jobs: - name: Run Tests run: dotnet test --no-build --no-restore --logger "GitHubActions" --collect:"XPlat Code Coverage;Format=opencover" - - name: Codecov - uses: codecov/codecov-action@v3 + - name: Upload coverage reports to Codecov + uses: codecov/codecov-action@v4 with: token: ${{ secrets.CODECOV_TOKEN }} + slug: Nutzzz/GameCollector files: coverage.xml fail_ci_if_error: false env_vars: OS diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index cbdb45e7..9bacc5f5 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -46,7 +46,7 @@ jobs: run: dotnet nuget push **/*.nupkg --skip-duplicate --api-key ${{ secrets.NUGET_API_KEY }} --source https://api.nuget.org/v3/index.json - name: Push to GitHub Packages - run: dotnet nuget push **/*.nupkg --skip-duplicate --api-key ${{ secrets.GITHUB_TOKEN }} --source https://nuget.pkg.github.com/Nutty/index.json + run: dotnet nuget push **/*.nupkg --skip-duplicate --api-key ${{ secrets.GITHUB_TOKEN }} --source https://nuget.pkg.github.com/Nutzzz/index.json - name: Create Release id: create_release diff --git a/codecov.yml b/codecov.yml index 41358c27..95a801a0 100644 --- a/codecov.yml +++ b/codecov.yml @@ -1,3 +1,7 @@ +codecov: + branch: main + bot: Nutzzz + ignore: - "tests/**/*" - "other/**/*" @@ -25,6 +29,7 @@ component_management: paths: - "src/GameFinder.Common/**" - "src/GameFinder.RegistryUtils/**" + - "src/GameCollector.Common/**" - "src/GameCollector.SQLiteUtils/**" - "src/GameCollector.YamlUtils/**" - component_id: wine