Skip to content

Commit

Permalink
Update publish-nuget.yml
Browse files Browse the repository at this point in the history
Updating versions of Actions
  • Loading branch information
Zimmergren authored Sep 26, 2023
1 parent 37302e4 commit 9b6a733
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/publish-nuget.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,10 @@ jobs:
name: Integration Tests
runs-on: windows-latest
steps:
- uses: actions/setup-dotnet@v1
- uses: actions/setup-dotnet@v3
with:
dotnet-version: 6.0.100
- uses: actions/checkout@v2.4.0
- uses: actions/checkout@v4
- run: dotnet test
working-directory: LogAnalytics.Client/LogAnalytics.Client.IntegrationTests
env:
Expand All @@ -29,22 +29,22 @@ jobs:
name: Unit Tests
runs-on: windows-latest
steps:
- uses: actions/setup-dotnet@v1
- uses: actions/setup-dotnet@v3
with:
dotnet-version: 6.0.100
- uses: actions/checkout@v2.4.0
- uses: actions/checkout@v4
- run: dotnet test
working-directory: LogAnalytics.Client/LogAnalytics.Client.UnitTests
buildandpublish:
name: Build and Publish NuGet
needs: [unittests,integrationtests] # ensure we run the unit tests, and integration tests before we start building and packaging.
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2.4.0
- uses: actions/checkout@v4
- name: DevSkim
uses: microsoft/DevSkim-Action@v1
- name: Wire up .NET Core
uses: actions/setup-dotnet@v1
uses: actions/setup-dotnet@v3
with:
dotnet-version: 6.0.100
- name: Install dependencies
Expand Down

0 comments on commit 9b6a733

Please sign in to comment.