Skip to content

Commit

Permalink
Consistently setup just after checkout [annotate]
Browse files Browse the repository at this point in the history
  • Loading branch information
utensil committed Oct 22, 2024
1 parent 28f17e0 commit 76bd9f7
Show file tree
Hide file tree
Showing 4 changed files with 16 additions and 11 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/aya.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,9 @@ jobs:
fail-fast: false
steps:
- uses: actions/checkout@v4
- uses: extractions/setup-just@v1
with:
just-version: 1.35.0
- name: Should annotate
id: annotate
# annotation is enabled conditionally
Expand All @@ -34,9 +37,6 @@ jobs:
key: github-pages-${{ github.run_id }}
restore-keys: |
github-pages
- uses: extractions/setup-just@v1
with:
just-version: 1.35.0
- name: Setup Aya
uses: aya-prover/setup-aya@latest
with:
Expand Down
4 changes: 3 additions & 1 deletion .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# yaml-language-server: $schema=https://json.schemastore.org/github-workflow.json
# based on https://github.com/actions/starter-workflows/blob/main/pages/static.yml
# and https://stackoverflow.com/questions/62750603/github-actions-trigger-another-action-after-one-action-is-completed/65698892#65698892
name: Deploy Gitub Pages
Expand Down Expand Up @@ -64,4 +65,5 @@ jobs:
path: github-pages
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v4
uses: actions/deploy-pages@v4

11 changes: 7 additions & 4 deletions .github/workflows/lean4.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,13 @@ jobs:
os: [ubuntu-latest, macos-latest, windows-latest]
fail-fast: false
steps:
- name: Checkout
uses: actions/checkout@v4
with:
submodules: recursive
- uses: extractions/setup-just@v1
with:
just-version: 1.35.0
- name: install elan on Ubuntu and macOS
if: matrix.os != 'windows-latest'
run: |
Expand All @@ -35,10 +42,6 @@ jobs:
curl -O --location https://github.com/raw/leanprover/elan/master/elan-init.ps1
.\elan-init.ps1 -NoPrompt 1 -DefaultToolchain none
echo "$HOME\.elan\bin" >> $env:GITHUB_PATH
- name: Checkout
uses: actions/checkout@v4
with:
submodules: recursive
- name: Should annotate
id: annotate
# annotation is enabled conditionally
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/tla.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,9 @@ jobs:
steps:
- name: Checkout
uses: actions/checkout@v4
- uses: extractions/setup-just@v1
with:
just-version: 1.35.0
- name: Should annotate
id: annotate
# annotation is enabled conditionally
Expand All @@ -34,9 +37,6 @@ jobs:
key: github-pages-${{ github.run_id }}
restore-keys: |
github-pages
- uses: extractions/setup-just@v1
with:
just-version: 1.35.0
- uses: actions/setup-java@v4
with:
distribution: 'temurin'
Expand Down

0 comments on commit 76bd9f7

Please sign in to comment.