Skip to content

Commit 76bd9f7

Browse files
committed
Consistently setup just after checkout [annotate]
1 parent 28f17e0 commit 76bd9f7

File tree

4 files changed

+16
-11
lines changed

4 files changed

+16
-11
lines changed

.github/workflows/aya.yml

+3-3
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,9 @@ jobs:
1919
fail-fast: false
2020
steps:
2121
- uses: actions/checkout@v4
22+
- uses: extractions/setup-just@v1
23+
with:
24+
just-version: 1.35.0
2225
- name: Should annotate
2326
id: annotate
2427
# annotation is enabled conditionally
@@ -34,9 +37,6 @@ jobs:
3437
key: github-pages-${{ github.run_id }}
3538
restore-keys: |
3639
github-pages
37-
- uses: extractions/setup-just@v1
38-
with:
39-
just-version: 1.35.0
4040
- name: Setup Aya
4141
uses: aya-prover/setup-aya@latest
4242
with:

.github/workflows/deploy.yml

+3-1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
# yaml-language-server: $schema=https://json.schemastore.org/github-workflow.json
12
# based on https://github.com/actions/starter-workflows/blob/main/pages/static.yml
23
# and https://stackoverflow.com/questions/62750603/github-actions-trigger-another-action-after-one-action-is-completed/65698892#65698892
34
name: Deploy Gitub Pages
@@ -64,4 +65,5 @@ jobs:
6465
path: github-pages
6566
- name: Deploy to GitHub Pages
6667
id: deployment
67-
uses: actions/deploy-pages@v4
68+
uses: actions/deploy-pages@v4
69+

.github/workflows/lean4.yml

+7-4
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,13 @@ jobs:
2323
os: [ubuntu-latest, macos-latest, windows-latest]
2424
fail-fast: false
2525
steps:
26+
- name: Checkout
27+
uses: actions/checkout@v4
28+
with:
29+
submodules: recursive
30+
- uses: extractions/setup-just@v1
31+
with:
32+
just-version: 1.35.0
2633
- name: install elan on Ubuntu and macOS
2734
if: matrix.os != 'windows-latest'
2835
run: |
@@ -35,10 +42,6 @@ jobs:
3542
curl -O --location https://raw.githubusercontent.com/leanprover/elan/master/elan-init.ps1
3643
.\elan-init.ps1 -NoPrompt 1 -DefaultToolchain none
3744
echo "$HOME\.elan\bin" >> $env:GITHUB_PATH
38-
- name: Checkout
39-
uses: actions/checkout@v4
40-
with:
41-
submodules: recursive
4245
- name: Should annotate
4346
id: annotate
4447
# annotation is enabled conditionally

.github/workflows/tla.yml

+3-3
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,9 @@ jobs:
1919
steps:
2020
- name: Checkout
2121
uses: actions/checkout@v4
22+
- uses: extractions/setup-just@v1
23+
with:
24+
just-version: 1.35.0
2225
- name: Should annotate
2326
id: annotate
2427
# annotation is enabled conditionally
@@ -34,9 +37,6 @@ jobs:
3437
key: github-pages-${{ github.run_id }}
3538
restore-keys: |
3639
github-pages
37-
- uses: extractions/setup-just@v1
38-
with:
39-
just-version: 1.35.0
4040
- uses: actions/setup-java@v4
4141
with:
4242
distribution: 'temurin'

0 commit comments

Comments
 (0)