Skip to content

before port

before port #407

Workflow file for this run

on:
push:
jobs:
# Cancels previous runs of jobs in this file.
cancel:
name: 'Cancel Previous Runs (CI)'
runs-on: ubuntu-latest
steps:
- uses: styfle/[email protected]
with:
all_but_latest: true
access_token: ${{ github.token }}
# Check that the branch builds successfully.
update_lean_xyz_branch_and_build:
runs-on: ubuntu-latest
name: Update lean-x.y.z branch and build project
steps:
- name: checkout project
uses: actions/checkout@v2
with:
fetch-depth: 0
- name: update branch
if: github.ref == 'refs/heads/master'
uses: leanprover-contrib/update-versions-action@master
- name: build project
uses: leanprover-contrib/lean-build-action@master
# Run the style linter (note that this doesn't fail the build as of now).
style_lint:
name: Lint style
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: install Python
uses: actions/setup-python@v2
with:
python-version: 3.8
- name: lint
run: |
./scripts/lint-style.sh