This repository has been archived by the owner on Aug 29, 2024. It is now read-only.
refactor: final refactor of CachedLemmas #966
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
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
name: ci | |
jobs: | |
build: | |
name: Build | |
runs-on: ubuntu-latest | |
steps: | |
- uses: DeterminateSystems/nix-installer-action@main | |
- name: install cadical | |
run: nix profile install nixpkgs#cadical | |
- uses: actions/checkout@v4 | |
- uses: leanprover/[email protected] | |
with: | |
test: true | |
use-mathlib-cache: false | |
use-github-cache: true | |
- name: eval | |
run: make eval | |
- name: Don't 'import Lean', use precise imports | |
if: always() | |
run: | | |
! (find LeanSAT -name "*.lean" -type f -print0 | xargs -0 grep -E -n '^import Lean$') | |
- name: Find trailing whitespaces | |
if: always() | |
run: | | |
! (find LeanSAT -name "*.lean" -type f -print0 | xargs -0 grep -E -n ".* +$") | |