ajout d'un debut de CI
All checks were successful
check main state / build (9.0.x) (push) Successful in 1m22s
All checks were successful
check main state / build (9.0.x) (push) Successful in 1m22s
This commit is contained in:
26
.gitea/workflows/Main.yaml
Normal file
26
.gitea/workflows/Main.yaml
Normal file
@@ -0,0 +1,26 @@
|
||||
name: check main state
|
||||
|
||||
on: [push]
|
||||
|
||||
jobs:
|
||||
build:
|
||||
|
||||
runs-on: ubuntu-latest
|
||||
strategy:
|
||||
matrix:
|
||||
dotnet-version: [ '9.0.x' ]
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- name: Setup dotnet
|
||||
uses: actions/setup-dotnet@v3
|
||||
with:
|
||||
dotnet-version: '9.0.x'
|
||||
- name: Install dependencies
|
||||
run: dotnet restore ./Giants.sln
|
||||
- name: Build
|
||||
run: dotnet build ./Giants.sln
|
||||
- name: Check format
|
||||
run: dotnet format
|
||||
- name: Test with the dotnet CLI
|
||||
run: dotnet test ./Giants.sln
|
||||
@@ -10,7 +10,7 @@ namespace Giants.Application;
|
||||
public class MatchRepositoryMock : IMatchRepository
|
||||
{
|
||||
private readonly BoardLayout _boardLayout;
|
||||
private static int _lastId = 1;
|
||||
private int _lastId = 1;
|
||||
|
||||
private Dictionary<int, Match> _matchs = new Dictionary<int, Match>();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user