Skip to content

Commit

Permalink
ci: run build on weekly schedule (#97)
Browse files Browse the repository at this point in the history
  • Loading branch information
ttu authored Jun 10, 2024
1 parent 9d01eaf commit 798b996
Show file tree
Hide file tree
Showing 2 changed files with 32 additions and 26 deletions.
29 changes: 16 additions & 13 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -1,22 +1,25 @@
name: CI

on: [push]
on:
push:
schedule:
- cron: "0 0 * * 1"

jobs:
build:
runs-on: ubuntu-latest
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
29 changes: 16 additions & 13 deletions .github/workflows/ci_win.yml
Original file line number Diff line number Diff line change
@@ -1,22 +1,25 @@
name: CI_WIN

on: [push]
on:
push:
schedule:
- cron: "0 0 * * 1"

jobs:
build-windows:
runs-on: windows-latest
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

0 comments on commit 798b996

Please sign in to comment.