Skip to content

chore(MetricCarleson/Basic): golf using fun_prop, filter_upwards and … #809

chore(MetricCarleson/Basic): golf using fun_prop, filter_upwards and …

chore(MetricCarleson/Basic): golf using fun_prop, filter_upwards and … #809

Workflow file for this run

on:
push:
branches:
- master
# Sets permissions of the GITHUB_TOKEN to allow deployment to GitHub Pages
permissions:
contents: read
pages: write
id-token: write
jobs:
style_lint:
name: Lint style
runs-on: ubuntu-latest
steps:
- name: Don't 'import Mathlib', use precise imports
if: always()
run: |
! (find Carleson -name "*.lean" -type f -print0 | xargs -0 grep -E -n '^import Mathlib$')
build_project:
runs-on: ubuntu-latest
name: Build project
steps:
- name: Checkout project
uses: actions/checkout@v5
with:
fetch-depth: 0
- name: Install elan
run: curl https://raw.githubusercontent.com/leanprover/elan/master/elan-init.sh -sSf | sh -s -- -y --default-toolchain none
- name: Get cache
run: ~/.elan/bin/lake exe cache get || true
- name: check that Carleson.lean is up to date
run: ~/.elan/bin/lake exe mk_all --check
- name: Build project
run: ~/.elan/bin/lake build Carleson
- name: Lint project
run: env LEAN_ABORT_ON_PANIC=1 ~/.elan/bin/lake exe runLinter Carleson
- name: Upstreaming dashboard
run: python3 scripts/upstreaming_dashboard.py
- uses: leanprover-community/docgen-action@56dff2bb89f3e9b8c1b6d5c8410362c19de2d904 # v1
with:
blueprint: true
homepage: docs