Default to Agda 2.8.0; cosmetics #15
Workflow file for this run
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
| name: Example Usage | |
| on: | |
| push: | |
| branches: | |
| - master | |
| pull_request: | |
| branches: | |
| - master | |
| workflow_dispatch: | |
| permissions: | |
| contents: read | |
| jobs: | |
| example: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout repository | |
| uses: actions/checkout@v5 | |
| - name: Setup Agda | |
| id: setup-agda | |
| uses: agda/agda-setup-action@master | |
| with: | |
| agda-version: '2.8.0' | |
| agda-stdlib-version: '2.3' | |
| - name: Show Agda info | |
| run: | | |
| echo "Agda path: ${{ steps.setup-agda.outputs.agda-path }}" | |
| echo "Agda dir: ${{ steps.setup-agda.outputs.agda-dir }}" | |
| agda --version | |
| - name: Create a simple Agda file | |
| run: | | |
| cat > Example.agda << 'EOF' | |
| module Example where | |
| open import Data.Bool.Base | |
| open import Data.Nat.Base | |
| example : Bool | |
| example = true | |
| EOF | |
| - name: Type-check Agda file | |
| run: agda Example.agda |