22 lines
707 B
YAML
22 lines
707 B
YAML
name: Test and build
|
|
run-name: ${{ gitea.actor }} is building MycroForge.CLI
|
|
on: [ push ]
|
|
|
|
jobs:
|
|
test:
|
|
runs-on: ubuntu-latest
|
|
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: "Reference MycroForge.Core in MycroForge.PluginTemplate"
|
|
run: dotnet add MycroForge.PluginTemplate reference MycroForge.Core
|
|
- name: "Run MycroForge.CLI.Tests"
|
|
# run: dotnet test --no-build --verbosity normal
|
|
run: dotnet test
|