Skip to content

Commit b0b972a

Browse files
committed
[ new ] Release Language Server v4 that supports Agda-2.7.0.1, Agda-2.6.4.3, and Agda-2.6.3
1 parent 82d0b69 commit b0b972a

File tree

3 files changed

+12
-4
lines changed

3 files changed

+12
-4
lines changed

.github/workflows/test.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -130,14 +130,14 @@ jobs:
130130
# things to be cached
131131

132132
- name: 💾 Cache stack global package db
133-
if: always() && steps.stack-global.outputs.cache-hit != 'true'
133+
if: steps.stack-global.outputs.cache-hit != 'true'
134134
uses: actions/cache/save@v4
135135
with:
136136
path: ${{ env.STACK_ROOT }}
137137
key: ${{ steps.stack-global.outputs.cache-primary-key }}
138138

139139
- name: 💾 Cache .stack-work
140-
if: always() && steps.stack-work.outputs.cache-hit != 'true'
140+
if: steps.stack-work.outputs.cache-hit != 'true'
141141
uses: actions/cache/save@v4
142142
with:
143143
path: .stack-work

package.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
name: agda-language-server
2-
version: 0.2.7.0.1.3
2+
version: 0.2.7.0.1.4
33
github: "banacorn/agda-language-server"
44
license: MIT
55
author: "Ting-Gian LUA"

src/Options.hs

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,15 @@ options =
6464
]
6565

6666
usage :: String
67-
usage = "Agda v2.7.0.1 Language Server v3\nUsage: als [Options...]\n"
67+
#if MIN_VERSION_Agda(2,7,0)
68+
usage = "Agda v2.7.0.1 Language Server v4\nUsage: als [Options...]\n"
69+
#endif
70+
#if MIN_VERSION_Agda(2,6,4)
71+
usage = "Agda v2.6.4.3 Language Server v4\nUsage: als [Options...]\n"
72+
#endif
73+
#if MIN_VERSION_Agda(2,6,3)
74+
usage = "Agda v2.6.3 Language Server v4\nUsage: als [Options...]\n"
75+
#endif
6876

6977
usageAboutAgdaOptions :: String
7078
usageAboutAgdaOptions =

0 commit comments

Comments
 (0)