Skip to content

Commit e7c968c

Browse files
committed
ci: Fix macOS test
1 parent cd0261b commit e7c968c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/ci.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,10 +40,10 @@ jobs:
4040
run: |
4141
nvim --version
4242
[ ! -d tests ] && exit 0
43-
curl -sLo /tmp/kubeconform.tar.gz https://github.com/yannh/kubeconform/releases/download/v0.6.7/kubeconform-linux-amd64.tar.gz
43+
curl -sLo /tmp/kubeconform.tar.gz https://github.com/yannh/kubeconform/releases/download/v0.6.7/kubeconform-$(uname -o | tr '[:upper:]' '[:lower:]')-amd64.tar.gz
4444
tar -xC /tmp -f /tmp/kubeconform.tar.gz
4545
mv /tmp/kubeconform /usr/local/bin/kubeconform
46-
curl -sLo /tmp/kubent.tar.gz https://github.com/doitintl/kube-no-trouble/releases/download/0.7.0/kubent-0.7.0-linux-amd64.tar.gz
46+
curl -sLo /tmp/kubent.tar.gz https://github.com/doitintl/kube-no-trouble/releases/download/0.7.0/kubent-0.7.0-uname -o | tr '[:upper:]' '[:lower:]'-amd64.tar.gz
4747
tar -xC /tmp -f /tmp/kubent.tar.gz
4848
mv /tmp/kubent /usr/local/bin/kubent
4949
nvim --headless --noplugin -u ./tests/init.lua -c "lua MiniTest.run()"

0 commit comments

Comments
 (0)