CI feat: restructure and cleanup #5
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: CI | |
| run-name: CI ${{ github.event.pull_request.title }} | |
| on: | |
| pull_request: | |
| jobs: | |
| tests: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout code | |
| uses: actions/checkout@v6 | |
| - name: Setup .NET | |
| uses: actions/setup-dotnet@v5 | |
| with: | |
| dotnet-version: | | |
| 8 | |
| 9 | |
| 10 | |
| - name: Docker Information | |
| run: | | |
| echo -e "\n\033[0;34mDocker System Info \033[0m" | |
| docker system info | |
| echo -e "\n\033[0;34mDocker Containers \033[0m" | |
| docker ps -a | |
| shell: bash | |
| - name: Build projects | |
| run: dotnet build ./all.csproj | |
| shell: bash | |
| - name: Run tests | |
| run: dotnet test ./all.csproj /p:BuildTestOnly=true | |
| shell: bash |