Skip to content

Commit 1db016b

Browse files
committed
ci: use mise to install Hurl on CI
1 parent 05e6649 commit 1db016b

File tree

1 file changed

+13
-6
lines changed

1 file changed

+13
-6
lines changed

.github/workflows/integration-tests.yml

+13-6
Original file line numberDiff line numberDiff line change
@@ -82,12 +82,19 @@ jobs:
8282
working-directory: docker
8383
run: docker compose ps
8484

85-
- name: Install Hurl
86-
run: |
87-
VER=6.1.1
88-
DEB=hurl_${VER}_amd64.deb
89-
curl --location --no-progress-meter --remote-name https://github.com/Orange-OpenSource/hurl/releases/download/$VER/$DEB
90-
sudo dpkg --install $DEB
85+
- name: Install mise to install Hurl
86+
uses: jdx/[email protected] # https://github.com/jdx/mise-action
87+
with:
88+
version: 2025.4.2 # [default: latest] mise version to install
89+
install: true # [default: true] run `mise install`
90+
cache: true # [default: true] cache mise using GitHub's cache
91+
log_level: info # [default: info] log level
92+
working_directory: tests # [default: .] directory to run mise in
93+
env:
94+
# Workaround: don't install some dependencies that we don't use (go, node, python)
95+
# See: https://github.com/jdx/mise-action/issues/183
96+
# https://mise.jdx.dev/configuration/settings.html#disable_tools
97+
MISE_DISABLE_TOOLS: go,node,python
9198

9299
- name: Show Hurl version
93100
run: hurl --version

0 commit comments

Comments
 (0)