diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 97d5e09..f124232 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -1,6 +1,9 @@ name: CI -on: [push] +on: + push: + schedule: + - cron: "0 0 * * 1" jobs: build: @@ -8,15 +11,15 @@ jobs: env: Solution_name: JsonFlatFileDataStore.sln steps: - - uses: actions/checkout@v3 - - uses: actions/setup-dotnet@v3 - with: - dotnet-version: | - 6.0.302 - 6.x - - name: Restore - run: dotnet restore - - name: Build - run: dotnet build - - name: Tests - run: dotnet test JsonFlatFileDataStore.Test/JsonFlatFileDataStore.Test.csproj + - uses: actions/checkout@v3 + - uses: actions/setup-dotnet@v3 + with: + dotnet-version: | + 6.0.302 + 6.x + - name: Restore + run: dotnet restore + - name: Build + run: dotnet build + - name: Tests + run: dotnet test JsonFlatFileDataStore.Test/JsonFlatFileDataStore.Test.csproj diff --git a/.github/workflows/ci_win.yml b/.github/workflows/ci_win.yml index 3594d5b..3c61db3 100644 --- a/.github/workflows/ci_win.yml +++ b/.github/workflows/ci_win.yml @@ -1,6 +1,9 @@ name: CI_WIN -on: [push] +on: + push: + schedule: + - cron: "0 0 * * 1" jobs: build-windows: @@ -8,15 +11,15 @@ jobs: env: Solution_name: JsonFlatFileDataStore.sln steps: - - uses: actions/checkout@v3 - - uses: actions/setup-dotnet@v3 - with: - dotnet-version: | - 6.0.302 - 6.x - - name: Restore - run: dotnet restore - - name: Build - run: dotnet build - - name: Tests - run: dotnet test JsonFlatFileDataStore.Test/JsonFlatFileDataStore.Test.csproj + - uses: actions/checkout@v3 + - uses: actions/setup-dotnet@v3 + with: + dotnet-version: | + 6.0.302 + 6.x + - name: Restore + run: dotnet restore + - name: Build + run: dotnet build + - name: Tests + run: dotnet test JsonFlatFileDataStore.Test/JsonFlatFileDataStore.Test.csproj