forked from exercism/lean
-
Notifications
You must be signed in to change notification settings - Fork 0
31 lines (24 loc) · 776 Bytes
/
test.yml
File metadata and controls
31 lines (24 loc) · 776 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
# This workflow will verify the exercises in the repository.
#
# Requires scripts:
# - bin/verify-exercises
name: Test
on:
push:
branches: [main]
pull_request:
workflow_dispatch:
jobs:
verify_exercises:
runs-on: ubuntu-24.04
steps:
- name: Checkout repository
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd
- name: Install elan (Lean version manager)
run: |
curl https://raw.githubusercontent.com/leanprover/elan/master/elan-init.sh -sSf | sh -s -- -y --default-toolchain none
echo "$HOME/.elan/bin" >> $GITHUB_PATH
- name: Check vendor files are in sync with templates
run: bin/update-from-templates
- name: Verify all exercises
run: bin/verify-exercises