Skip to content

Commit

Permalink
ci: Update all actions
Browse files Browse the repository at this point in the history
  • Loading branch information
SamboyCoding committed Dec 22, 2024
1 parent 8887144 commit 70e22e1
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/dotnet.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,24 +10,24 @@ 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
run: dotnet restore
- 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
Expand Down

0 comments on commit 70e22e1

Please sign in to comment.