Add GitHub composite action for installing Agda and standard library#1
Merged
andreasabel merged 5 commits intomasterfrom Nov 14, 2025
Merged
Conversation
Co-authored-by: andreasabel <1155218+andreasabel@users.noreply.github.com>
Co-authored-by: andreasabel <1155218+andreasabel@users.noreply.github.com>
Co-authored-by: andreasabel <1155218+andreasabel@users.noreply.github.com>
Co-authored-by: andreasabel <1155218+andreasabel@users.noreply.github.com>
Copilot
AI
changed the title
[WIP] Add GitHub composite action to install Agda
Add GitHub composite action for installing Agda and standard library
Nov 14, 2025
andreasabel
requested changes
Nov 14, 2025
Member
andreasabel
left a comment
There was a problem hiding this comment.
Great job!
Please address the inline comments, these are minor issues.
| module Example where | ||
|
|
||
| open import Data.Bool | ||
| open import Data.Nat |
Member
There was a problem hiding this comment.
Restrict these two imports to the .Base submodules.
|
|
||
| steps: | ||
| - name: Checkout repository | ||
| uses: actions/checkout@v4 |
Member
There was a problem hiding this comment.
Use v5 of the checkout action, here and everywhere.
| jobs: | ||
| test-linux: | ||
| runs-on: ubuntu-latest | ||
| steps: |
Member
There was a problem hiding this comment.
Refactor this so that there is only one test job but running in a matrix of the four images.
| - Ubuntu (latest) | ||
| - Windows (latest) | ||
| - macOS (latest, including macOS-15-intel) | ||
| - Outputs the path to the Agda executable and Agda application directory |
Member
There was a problem hiding this comment.
End each of the 4 main bullet points here with a ".".
Copilot AI
added a commit
that referenced
this pull request
Nov 14, 2025
Co-authored-by: andreasabel <1155218+andreasabel@users.noreply.github.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Implements a reusable composite action that installs Agda from official releases with optional standard library support.
Implementation
agda-version(required),agda-stdlib-version(optional)agda-path,agda-dir~/.local/bin→ configures Agda directories → optionally installs stdlibUsage
Files
action.yml: Composite action with conditional stdlib installationREADME.md: Documentation with examples.github/workflows/test.yml: Multi-platform validation (Ubuntu, Windows, macOS ARM/Intel).github/workflows/example.yml: Usage demonstration with stdlib importsBinary naming patterns verified against Agda 2.8.0 release:
Agda-v{version}-{linux|win64|macOS-arm64|macOS-x64}.{tar.xz|zip}Warning
Firewall rules blocked me from connecting to one or more addresses (expand for details)
I tried to connect to the following addresses, but was blocked by firewall rules:
https://api.github.com/repos/agda/agda/releasescurl -s REDACTED(http block)https://api.github.com/repos/agda/agda/releases/latestcurl -s REDACTED(http block)If you need me to access, download, or install something from one of these locations, you can either:
Original prompt
✨ Let Copilot coding agent set things up for you — coding agent works faster and does higher quality work when set up for your repo.