File tree Expand file tree Collapse file tree 2 files changed +63
-0
lines changed
Expand file tree Collapse file tree 2 files changed +63
-0
lines changed Original file line number Diff line number Diff line change 1+ name : Example Usage
2+
3+ on : [push, pull_request]
4+
5+ jobs :
6+ example :
7+ runs-on : ubuntu-latest
8+
9+ steps :
10+ - name : Checkout repository
11+ uses : actions/checkout@v4
12+
13+ - name : Setup Agda
14+ id : setup-agda
15+ uses : agda/agda-setup-action@v1
16+ with :
17+ agda-version : ' 2.8.0'
18+ agda-stdlib-version : ' 2.3'
19+
20+ - name : Show Agda info
21+ run : |
22+ echo "Agda path: ${{ steps.setup-agda.outputs.agda-path }}"
23+ echo "Agda dir: ${{ steps.setup-agda.outputs.agda-dir }}"
24+ agda --version
25+
26+ - name : Create a simple Agda file
27+ run : |
28+ cat > Example.agda << 'EOF'
29+ module Example where
30+
31+ open import Data.Bool
32+ open import Data.Nat
33+
34+ example : Bool
35+ example = true
36+ EOF
37+
38+ - name : Type-check Agda file
39+ run : agda Example.agda
Original file line number Diff line number Diff line change 1+ # Temporary files
2+ * .tmp
3+ * .temp
4+ /tmp /
5+
6+ # Archive files used during testing
7+ * .tar.xz
8+ * .tar.gz
9+ * .zip
10+
11+ # Agda build artifacts
12+ * .agdai
13+ _build /
14+
15+ # OS files
16+ .DS_Store
17+ Thumbs.db
18+
19+ # IDE files
20+ .vscode /
21+ .idea /
22+ * .swp
23+ * .swo
24+ * ~
You can’t perform that action at this time.
0 commit comments