Skip to content

Commit

Permalink
Cleaning up action (#970)
Browse files Browse the repository at this point in the history
* this may read global.json

* cleaning up the rest of the versions

---------

Co-authored-by: Lasath Fernando <devel@lasath.org>
  • Loading branch information
belav and shocklateboy92 authored Oct 10, 2023
1 parent 3aeb571 commit dbc74ca
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 28 deletions.
4 changes: 1 addition & 3 deletions .github/workflows/format_repositories.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,7 @@ jobs:
- uses: actions/checkout@v2
with:
path: csharpier
- uses: actions/setup-dotnet@v1
with:
dotnet-version: '7.0.400'
- uses: actions/setup-dotnet@v3
- uses: actions/checkout@v2
with:
repository: belav/csharpier-repos
Expand Down
12 changes: 2 additions & 10 deletions .github/workflows/publish_nuget.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,7 @@ jobs:
name: test
steps:
- uses: actions/checkout@v2
- uses: actions/setup-dotnet@v1
with:
dotnet-version: |
7.0.400
6.0.300
- uses: actions/setup-dotnet@v3
- run: >
dotnet test Src/CSharpier.Tests/CSharpier.Tests.csproj
--configuration Release
Expand All @@ -29,11 +25,7 @@ jobs:
NUGET_KEY: ${{secrets.NUGET_API_KEY}}
steps:
- uses: actions/checkout@v2
- uses: actions/setup-dotnet@v1
with:
dotnet-version: |
7.0.400
6.0.300
- uses: actions/setup-dotnet@v3
- name: Publish CSharpier.Core library on version change
uses: alirezanet/publish-nuget@v3.0.4
with:
Expand Down
18 changes: 3 additions & 15 deletions .github/workflows/validate_pull_request.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,7 @@ jobs:
name: Run Tests
steps:
- uses: actions/checkout@v2
- uses: actions/setup-dotnet@v1
with:
dotnet-version: |
7.0.400
6.0.300
- uses: actions/setup-dotnet@v3
- run: >
dotnet test CSharpier.sln
--configuration Release
Expand All @@ -25,11 +21,7 @@ jobs:
name: Check Formatting
steps:
- uses: actions/checkout@v2
- uses: actions/setup-dotnet@v1
with:
dotnet-version: |
7.0.400
6.0.300
- uses: actions/setup-dotnet@v3
- run: |
dotnet tool restore
dotnet csharpier . --check
Expand All @@ -38,10 +30,6 @@ jobs:
name: Build CSharpier.MSBuild
steps:
- uses: actions/checkout@v2
- uses: actions/setup-dotnet@v1
with:
dotnet-version: |
7.0.400
6.0.300
- uses: actions/setup-dotnet@v3
- run: |
dotnet build Src/CSharpier.MsBuild/CSharpier.MsBuild.csproj

0 comments on commit dbc74ca

Please sign in to comment.