File tree 1 file changed +3
-23
lines changed
1 file changed +3
-23
lines changed Original file line number Diff line number Diff line change @@ -31,31 +31,11 @@ jobs:
31
31
# 念のために Windows 環境でもビルドを行う
32
32
windows_build :
33
33
runs-on : windows-latest
34
- # 失敗することはめったにないので PR 時にはチェックしない
35
- if : github.ref == 'refs/heads/main'
36
34
steps :
37
35
- name : checkout
38
36
uses : actions/checkout@v4
39
37
40
- - name : install elan
41
- run : |
42
- curl -O --location https://raw.githubusercontent.com/leanprover/elan/master/elan-init.ps1
43
- echo 1 | powershell -ExecutionPolicy Bypass -f elan-init.ps1
44
- del elan-init.ps1
45
- (Resolve-Path ~/.elan/bin).Path >> $Env:GITHUB_PATH
46
- shell : pwsh
47
-
48
- - uses : actions/cache@v4
38
+ - name : lean action
39
+ uses : leanprover/lean-action@v1
49
40
with :
50
- path : ./.lake
51
- key : lake-${{ runner.os }}-${{ hashFiles('lean-toolchain') }}-${{ hashFiles('lake-manifest.json') }}-${{ github.sha }}
52
- # if no cache hit, fall back to the cache with same lean-toolchain and lake-manifest.json
53
- restore-keys : lake-${{ runner.os }}-${{ hashFiles('lean-toolchain') }}-${{ hashFiles('lake-manifest.json') }}
54
-
55
- - name : get mathlib cache
56
- run : lake exe cache get
57
- shell : pwsh
58
-
59
- - name : run lake build
60
- run : lake build --log-level=error
61
- shell : pwsh
41
+ build-args : " --log-level=error"
You can’t perform that action at this time.
0 commit comments