This commit is contained in:
parent
33a86882ac
commit
2918f87911
@ -1,18 +1,18 @@
|
|||||||
name: Test and build
|
name: Test and build
|
||||||
run-name: ${{ gitea.actor }} is building MycroForge.CLI
|
run-name: ${{ gitea.actor }} is building MycroForge.CLI
|
||||||
on: [ push ]
|
on: [ push ]
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
test:
|
test:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- uses: https://github.com/actions/checkout@v4
|
- uses: https://github.com/actions/checkout@v4
|
||||||
- uses: https://github.com/actions/setup-dotnet@v4
|
- uses: https://github.com/actions/setup-dotnet@v4
|
||||||
with:
|
with:
|
||||||
dotnet-version: '8.x'
|
dotnet-version: '8.x'
|
||||||
- name: "Run dotnet restore"
|
- name: "Run dotnet restore"
|
||||||
run: dotnet restore
|
run: dotnet restore
|
||||||
- name: "Run dotnet build"
|
- name: "Run dotnet build"
|
||||||
run: dotnet build --no-restore
|
run: dotnet build --no-restore
|
||||||
- name: "Test the image"
|
- name: "Test the image"
|
||||||
run: dotnet test --no-build --verbosity normal
|
run: dotnet test --no-build --verbosity normal
|
||||||
|
Loading…
Reference in New Issue
Block a user