Ajout de 2 workflows pour les merges et reviews
This commit is contained in:
27
.gitea/workflows/review.yaml
Normal file
27
.gitea/workflows/review.yaml
Normal file
@@ -0,0 +1,27 @@
|
||||
name: "Generation data pour merge sur master"
|
||||
|
||||
on:
|
||||
push:
|
||||
branches: ["main"]
|
||||
pull_request:
|
||||
branches: ["main"]
|
||||
|
||||
jobs:
|
||||
|
||||
reviewProcess:
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
steps:
|
||||
- name: Checkout code
|
||||
uses: actions/checkout@v2
|
||||
- name: Setup dotnet
|
||||
uses: actions/setup-dotnet@v3
|
||||
with:
|
||||
dotnet-version: '8.0.x'
|
||||
- name: Install dependencies
|
||||
run: dotnet restore ./src/LudikZone.sln
|
||||
- name: Build
|
||||
run: dotnet build ./src/LudikZone.sln
|
||||
- name: Test with the dotnet CLI
|
||||
run: dotnet test ./src/LudikZone.sln
|
||||
|
||||
Reference in New Issue
Block a user