Skip to content

Conversation

Jack251970
Copy link
Owner

@Jack251970 Jack251970 commented Mar 5, 2025

Comment on lines 13 to 42
runs-on: windows-latest

env:
Dotnet_Version: 8.0.x
Project_Path: src\build\Build.csproj

steps:

# Checkout codes
- name: Checkout
uses: actions/checkout@v4

# Install the .NET Core workload
- name: Setup .NET
uses: actions/setup-dotnet@v4
with:
dotnet-version: ${{ env.Dotnet_Version }}

# Restore dependencies
- name: Restore dependencies
run: dotnet restore ${{ env.Project_Path }}

# Build the project
- name: Build
run: dotnet build ${{ env.Project_Path }} --configuration Release --no-restore

# Execute all unit tests in the solution
- name: Execute unit tests
if: github.event_name == 'push' && github.ref != 'refs/heads/main'
run: dotnet test --configuration Release --no-build

Check warning

Code scanning / CodeQL

Workflow does not contain permissions

Actions Job or Workflow does not set permissions
@Jack251970 Jack251970 force-pushed the test_init_initasync branch from cbaa34c to c42c44f Compare March 6, 2025 06:26
@Jack251970 Jack251970 self-assigned this Mar 6, 2025
@Jack251970 Jack251970 added enhancement New feature or request bug Something isn't working labels Mar 6, 2025
@Jack251970 Jack251970 closed this Apr 4, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant