From 0a34c4938455cba04a6c3c3a056a0fbe1c39a866 Mon Sep 17 00:00:00 2001 From: Steven Cleve <107827476+stevencl840@users.noreply.github.com> Date: Mon, 5 Aug 2024 14:48:53 +1000 Subject: [PATCH 1/2] Added scheduled build and test --- .github/workflows/build-and-test.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/workflows/build-and-test.yml b/.github/workflows/build-and-test.yml index 6fbba862..15385a53 100644 --- a/.github/workflows/build-and-test.yml +++ b/.github/workflows/build-and-test.yml @@ -1,5 +1,9 @@ name: Build and test on: + schedule: + # Daily 5am australian/brisbane time (7pm UTC) + - cron: '0 19 * * *' + pull_request: push: branches: From 2e01c4620f9eb60bab2687db7c8b34f571cfe835 Mon Sep 17 00:00:00 2001 From: Steven Cleve <107827476+stevencl840@users.noreply.github.com> Date: Mon, 5 Aug 2024 16:07:17 +1000 Subject: [PATCH 2/2] Pin version of SQL Server for integration tests --- .github/workflows/build-and-test.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build-and-test.yml b/.github/workflows/build-and-test.yml index 15385a53..180e1249 100644 --- a/.github/workflows/build-and-test.yml +++ b/.github/workflows/build-and-test.yml @@ -3,7 +3,7 @@ on: schedule: # Daily 5am australian/brisbane time (7pm UTC) - cron: '0 19 * * *' - + pull_request: push: branches: @@ -74,7 +74,7 @@ jobs: SERVER_URL: "http://localhost:8080" services: sqlserver: - image: mcr.microsoft.com/mssql/server:2019-latest + image: mcr.microsoft.com/mssql/server:2019-CU27-ubuntu-20.04 env: ACCEPT_EULA: Y SA_PASSWORD: ${{ env.SA_PASSWORD }}