Skip to content

Scheduled build

Scheduled build #10

Workflow file for this run

name: Scheduled build
on:
schedule:
- cron: "15 13 * * 1"
defaults:
run:
shell: bash
jobs:
test:
name: Scheduled checks
runs-on: ubuntu-22.04
permissions:
packages: write
contents: read
actions: read
steps:
- name: Login to Docker Hub
uses: docker/login-action@v3
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
- name: Checkout
uses: actions/checkout@v4
- name: Build dev environment
run: |
set -e
cd orville-postgresql
docker compose build -q
- name: Run cabal outdated
run: |
set -e
cd orville-postgresql
cp compose.override.github.yml compose.override.yml
docker compose run \
--rm \
dev \
scripts/outdated-check.sh