Skip to content
This repository has been archived by the owner on Jan 18, 2025. It is now read-only.

Commit

Permalink
set periodic workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
Seasawher committed Apr 4, 2024
1 parent 5b913e0 commit 34a7dfb
Showing 1 changed file with 26 additions and 0 deletions.
26 changes: 26 additions & 0 deletions .github/workflows/check_nightly.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
name: run build on current nightly

on:
schedule:
- cron: '0 14 1 * *'
workflow_dispatch:

jobs:
build:
name: build periodic nightly
runs-on: ubuntu-latest
steps:
- name: checkout repo
uses: actions/checkout@v4
with:
ref: nightly
- name: install elan
run: |
set -o pipefail
curl https://raw.githubusercontent.com/leanprover/elan/master/elan-init.sh -sSf | sh -s -- --default-toolchain none -y
~/.elan/bin/lean --version
echo "$HOME/.elan/bin" >> $GITHUB_PATH
- name: override elan default
run: elan override set leanprover/lean4:nightly
- name: build
run: lake build

0 comments on commit 34a7dfb

Please sign in to comment.