diff --git a/.github/workflows/release.yml b/.github/workflows/cd-release.yml similarity index 94% rename from .github/workflows/release.yml rename to .github/workflows/cd-release.yml index d57a6b2..9b48425 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/cd-release.yml @@ -8,7 +8,7 @@ jobs: timeout-minutes: 15 steps: - name: Checkout - uses: actions/checkout@v2 + uses: actions/checkout@v3 with: fetch-depth: 0 - name: Verify commit exists in origin/main @@ -17,7 +17,7 @@ jobs: run: | git log --pretty=format:'%d %s' ${GITHUB_REF} | perl -pe 's| \(.*tag: v(\d+.\d+.\d+(-preview\d{3})?)(, .*?)*\)|\n## \1\n|g' > RELEASE-NOTES - name: Setup .NET - uses: actions/setup-dotnet@v1 + uses: actions/setup-dotnet@v3 with: dotnet-version: 7.0.x - name: Set VERSION variable from tag diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index d8ced9f..a5c5618 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -22,12 +22,14 @@ jobs: timeout-minutes: 15 steps: - name: Checkout - uses: actions/checkout@v2 + uses: actions/checkout@v3 - name: Setup .NET - uses: actions/setup-dotnet@v1 + uses: actions/setup-dotnet@v3 with: dotnet-version: 7.0.x - name: Build run: dotnet build --configuration Release - name: Test run: dotnet test --configuration Release --no-build + - name: Upload coverage reports to Codecov + uses: codecov/codecov-action@v3