Skip to content

Commit

Permalink
fix: manually set .net version in actions 🙄 actions/setup-dotnet#562
Browse files Browse the repository at this point in the history
  • Loading branch information
ChrisMcKee committed Jan 2, 2025
1 parent f6e6d16 commit f3cc241
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 4 deletions.
4 changes: 3 additions & 1 deletion .github/workflows/ci-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ env:
jobs:
build:
name: Build and Test
runs-on: ubuntu-latest
runs-on: ubuntu-24.04
steps:
- name: 'Harden Runner'
uses: step-security/harden-runner@0080882f6c36860b6ba35c610c98ce87d4e2f26f # v2.10.2
Expand All @@ -40,6 +40,8 @@ jobs:

- name: 'Setup .NET SDK'
uses: actions/setup-dotnet@87b7050bc53ea08284295505d98d2aa94301e852 # v4.2.0
with:
dotnet-version: 9.0.x

- name: 'Restore external dependencies'
run: dotnet restore
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/ci-manual-build-test-sign.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,8 @@ jobs:

- name: 'Setup .NET SDK'
uses: actions/setup-dotnet@87b7050bc53ea08284295505d98d2aa94301e852 # v4.2.0
with:
dotnet-version: 9.0.x

- name: 'Build'
run: dotnet build --configuration Release --property:PublicRelease=${{ inputs.public_release }}
Expand Down
4 changes: 3 additions & 1 deletion .github/workflows/codeql-analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ env:
jobs:
analyze:
name: Analyze
runs-on: ubuntu-latest
runs-on: ubuntu-24.04
permissions:
actions: read
contents: read
Expand All @@ -60,6 +60,8 @@ jobs:

- name: 'Setup .NET SDK'
uses: actions/setup-dotnet@87b7050bc53ea08284295505d98d2aa94301e852 # v4.2.0
with:
dotnet-version: 9.0.x

# Initializes the CodeQL tools for scanning.
- name: Initialize CodeQL
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/upload-coverage-report.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ on:

jobs:
prCoverageComment:
runs-on: ubuntu-latest
runs-on: ubuntu-24.04
permissions:
pull-requests: write
if:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
</PropertyGroup>

<ItemGroup>
<ProjectReference Include="..\..\..\src\Bcrypt.Net\BCrypt.Net.csproj" />
<ProjectReference Include="..\..\..\src\BCrypt.Net\BCrypt.Net.csproj" />
</ItemGroup>

</Project>

0 comments on commit f3cc241

Please sign in to comment.