Skip to content

Commit

Permalink
Update dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
meziantou committed Sep 20, 2024
1 parent 1a8da41 commit 22ca3ed
Show file tree
Hide file tree
Showing 8 changed files with 926 additions and 839 deletions.
27 changes: 17 additions & 10 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,16 +25,14 @@ jobs:
runs-on: windows-latest
steps:
- uses: actions/checkout@v4
- name: Setup .NET
uses: actions/setup-dotnet@v4
- uses: actions/setup-dotnet@v4
- run: dotnet run --project=tools/ConfigFilesGenerator/ConfigFilesGenerator.csproj

create_nuget:
runs-on: windows-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-dotnet@v4
- uses: actions/setup-dotnet@v4
- run: |
try
{
Expand All @@ -60,28 +58,37 @@ jobs:
path: "**/*.nupkg"

test:
runs-on: windows-latest
runs-on: ubuntu-latest
needs: [create_nuget]
steps:
- uses: actions/checkout@v4
- uses: actions/setup-dotnet@v4
- uses: actions/download-artifact@v4
with:
name: nuget
path: ${{ env.NuGetDirectory }}
- uses: actions/setup-dotnet@v4
with:
dotnet-version: |
8.0.x
9.0.100-rc.1.24452.12
- run: dotnet test tests/Meziantou.DotNet.CodingStandard.Tests/Meziantou.DotNet.CodingStandard.Tests.csproj
8.0.x
- run: dotnet --info
- run: dotnet test tests/Meziantou.DotNet.CodingStandard.Tests/Meziantou.DotNet.CodingStandard.Tests.csproj --logger "trx;LogFileName=test_results.trx" --results-directory test_results
- uses: actions/upload-artifact@v4
if: always()
with:
name: test_results
path: test_results

deploy:
runs-on: "ubuntu-22.04"
runs-on: "ubuntu-latest"
needs: [create_nuget, lint_config, test]
steps:
- uses: actions/checkout@v4
- uses: actions/download-artifact@v4
with:
name: nuget
path: ${{ env.NuGetDirectory }}
- name: Setup .NET Core
uses: actions/setup-dotnet@v4
- uses: actions/setup-dotnet@v4
- run: |
Write-Host "Current ref: $env:GITHUB_REF"
Write-Host "Searching nupkg in folder: ${{ env.NuGetDirectory }}"
Expand Down
2 changes: 1 addition & 1 deletion Meziantou.DotNet.CodingStandard.nuspec
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@

<repository type="git" url="$RepositoryUrl$" commit="$RepositoryCommit$" branch="$RepositoryBranch$" />
<dependencies>
<dependency id="Meziantou.Analyzer" version="2.0.154" />
<dependency id="Meziantou.Analyzer" version="2.0.163" />
<dependency id="Microsoft.CodeAnalysis.BannedApiAnalyzers" version="3.3.4" />
</dependencies>
</metadata>
Expand Down
Loading

0 comments on commit 22ca3ed

Please sign in to comment.