From b37be9b252c804812e8ebef9eb14d7650401a3c5 Mon Sep 17 00:00:00 2001 From: Andrii Bodnar Date: Tue, 19 Mar 2024 11:44:25 +0200 Subject: [PATCH] ci: update actions (#230) --- .github/workflows/basic.yml | 10 +++++----- .github/workflows/docs.yml | 6 +++--- .github/workflows/publish.yml | 4 ++-- .github/workflows/release.yml | 1 - 4 files changed, 10 insertions(+), 11 deletions(-) diff --git a/.github/workflows/basic.yml b/.github/workflows/basic.yml index 5d5eee1c..c607eeda 100644 --- a/.github/workflows/basic.yml +++ b/.github/workflows/basic.yml @@ -25,7 +25,7 @@ jobs: uses: actions/checkout@v4 - name: Setup .NET SDK ${{ matrix.dotnet-version }} - uses: actions/setup-dotnet@v3 + uses: actions/setup-dotnet@v4 with: dotnet-version: ${{ matrix.dotnet-version }} @@ -43,10 +43,10 @@ jobs: needs: build steps: - name: Checkout - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Setup .NET SDK - uses: actions/setup-dotnet@v3 + uses: actions/setup-dotnet@v4 with: dotnet-version: 7.0.x @@ -54,14 +54,14 @@ jobs: run: dotnet test --verbosity normal /p:CollectCoverage=true /p:CoverletOutputFormat=cobertura - name: Generate code coverage report - uses: danielpalme/ReportGenerator-GitHub-Action@5.1.19 + uses: danielpalme/ReportGenerator-GitHub-Action@5.2.3 with: reports: '**/coverage.cobertura.xml' targetdir: 'CodeCoverage' reporttypes: 'Cobertura' - name: Publish code coverage report - uses: codecov/codecov-action@v3 + uses: codecov/codecov-action@v4 with: token: ${{ secrets.CODECOV_TOKEN }} files: '**/coverage.cobertura.xml' diff --git a/.github/workflows/docs.yml b/.github/workflows/docs.yml index c391f03c..4e31150b 100644 --- a/.github/workflows/docs.yml +++ b/.github/workflows/docs.yml @@ -15,12 +15,12 @@ jobs: uses: actions/checkout@v4 - name: Setup .NET Core SDK - uses: actions/setup-dotnet@v2 + uses: actions/setup-dotnet@v4 with: - dotnet-version: 3.1.x + dotnet-version: 7.0.x - name: Install DocFX - uses: crazy-max/ghaction-chocolatey@v1 + uses: crazy-max/ghaction-chocolatey@v3 with: args: install docfx diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index c32dd11f..080314db 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -16,10 +16,10 @@ jobs: steps: - name: Checkout - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Setup .NET SDK - uses: actions/setup-dotnet@v3 + uses: actions/setup-dotnet@v4 with: dotnet-version: 7.0.x diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index ed8adb6c..ac28fff2 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -10,7 +10,6 @@ on: options: - patch - minor - - major jobs: version: