Scheduled build #8
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |