Skip to content

wip

wip #47

Workflow file for this run

name: CI
on:
push:
branches: [main, wip]
pull_request:
branches: [main]
jobs:
build:
runs-on: ubuntu-latest
env:
CI_VERSION: 0.0.${{ github.run_number }}
CI_INFORMATIONAL_VERSION: 0.0.${{ github.run_number }}+${{ github.sha }}
steps:
- uses: actions/checkout@v4
- name: Setup .NET
uses: actions/setup-dotnet@v4
with:
dotnet-version: '9.x'
- name: Restore dependencies
run: dotnet restore files.sln
- name: Build
run: dotnet build files.sln --no-restore -p:Version=$CI_VERSION -p:InformationalVersion=$CI_INFORMATIONAL_VERSION
- name: Test
run: dotnet test files.sln --no-build --verbosity normal