19 lines
538 B
YAML
19 lines
538 B
YAML
name: Test and build
|
|
run-name: ${{ gitea.actor }} is building MycroForge.CLI
|
|
on: [ push ]
|
|
|
|
jobs:
|
|
test:
|
|
runs-on: ubuntu-default
|
|
steps:
|
|
- uses: https://github.com/actions/checkout@v4
|
|
- uses: https://github.com/actions/setup-dotnet@v4
|
|
with:
|
|
dotnet-version:'8.x'
|
|
- name: "Run dotnet restore"
|
|
run: dotnet restore
|
|
- name: "Run dotnet build"
|
|
run: dotnet build --no-restore
|
|
- name: "Test the image"
|
|
run: dotnet test --no-build --verbosity normal
|