From 70e22e102b0b81857c9ee1d390b89578c3e84967 Mon Sep 17 00:00:00 2001 From: Sam Byass Date: Sun, 22 Dec 2024 12:58:46 +0000 Subject: [PATCH] ci: Update all actions --- .github/workflows/dotnet.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/dotnet.yml b/.github/workflows/dotnet.yml index 96675e2..6287c7d 100644 --- a/.github/workflows/dotnet.yml +++ b/.github/workflows/dotnet.yml @@ -10,9 +10,9 @@ jobs: build: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v4.2.2 - name: Setup .NET - uses: actions/setup-dotnet@v1 + uses: actions/setup-dotnet@v4.1.0 with: dotnet-version: 7.0.x - name: Restore dependencies @@ -20,14 +20,14 @@ jobs: - name: Test run: dotnet test --verbosity normal /p:CollectCoverage=true /p:CoverletOutputFormat=lcov /p:CoverletOutput='./lcov.info' /p:ExcludeByAttribute="Tomlet.Attributes.NoCoverageAttribute" - name: Upload test coverage - uses: coverallsapp/github-action@1.1.3 + uses: coverallsapp/github-action@v2.3.4 with: github-token: ${{ secrets.GITHUB_TOKEN }} path-to-lcov: ./Tomlet.Tests/lcov.info - name: Build run: dotnet build -c Release - name: Upload NuGet Artifact - uses: actions/upload-artifact@v2 + uses: actions/upload-artifact@v4.5.0 with: name: Tomlet.nupkg path: Tomlet/bin/Release/*.nupkg