Default to Agda 2.8.0; cosmetics #16
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: Test Action | |
| on: | |
| push: | |
| branches: | |
| - master | |
| - 'copilot/**' | |
| pull_request: | |
| branches: | |
| - master | |
| workflow_dispatch: | |
| permissions: | |
| contents: read | |
| jobs: | |
| test: | |
| strategy: | |
| matrix: | |
| os: [ubuntu-latest, windows-latest, macos-latest, macos-15-intel] | |
| agda-stdlib-version: ['2.3'] | |
| runs-on: ${{ matrix.os }} | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v5 | |
| - name: Setup Agda | |
| id: setup | |
| uses: ./ | |
| with: | |
| agda-version: '2.8.0' | |
| agda-stdlib-version: ${{ matrix.agda-stdlib-version }} | |
| - name: Verify Agda installation | |
| run: | | |
| echo "Agda path: ${{ steps.setup.outputs.agda-path }}" | |
| echo "Agda dir: ${{ steps.setup.outputs.agda-dir }}" | |
| agda --version | |
| - name: Create test file | |
| shell: bash | |
| run: | | |
| cat > test.agda << 'EOF' | |
| module test where | |
| data Bool : Set where | |
| true false : Bool | |
| EOF | |
| - name: Test Agda | |
| run: agda test.agda |