Engine_silk.NET/.gitea/workflows/cicd.yml

16 lines
660 B
YAML
Raw Normal View History

2023-09-28 14:08:28 +02:00
name: Gitea Actions Demo
run-name: ${{ gitea.actor }} is testing out Gitea Actions
on: [push]
jobs:
2023-09-28 14:15:13 +02:00
Scan the project:
2023-09-28 14:08:28 +02:00
runs-on: dotNET
steps:
2023-09-28 14:15:13 +02:00
- name: Check out repository
2023-09-28 14:08:28 +02:00
uses: actions/checkout@v3
2023-09-28 14:15:13 +02:00
- name: Start sonar scanner
2023-09-28 14:08:28 +02:00
run: cd src && dotnet sonarscanner begin /k:"Engine_silk.net" /d:sonar.host.url="https://sonar.elosia.mooo.com" /d:sonar.token="sqp_d4f022f96ed66bc3e6acfd4468dfb7825156402b"
2023-09-28 14:15:13 +02:00
- name: Build the engine
2023-09-28 14:08:28 +02:00
run: cd src && dotnet build
2023-09-28 14:15:13 +02:00
- name: End sonar scanner
run: cd src && dotnet sonarscanner end /d:sonar.token="sqp_d4f022f96ed66bc3e6acfd4468dfb7825156402b"