From 8b23e6bc73a7039e16af3c2fa78f01a6b0ef6929 Mon Sep 17 00:00:00 2001 From: Marc-Antoine Date: Thu, 5 Jan 2023 22:43:54 -0500 Subject: [PATCH] pull deps correctly now that it runs on Ubuntu --- .github/workflows/workflow.yml | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) diff --git a/.github/workflows/workflow.yml b/.github/workflows/workflow.yml index 2dee614..36b9c3b 100644 --- a/.github/workflows/workflow.yml +++ b/.github/workflows/workflow.yml @@ -34,7 +34,11 @@ jobs: uses: asdf-vm/actions/setup@v1 - name: Install bats-core - run: brew install bats-core + run: | + sudo add-apt-repository universe + sudo apt-get update + sudo apt install bats + - name: Test plugin run: | @@ -51,7 +55,10 @@ jobs: uses: actions/checkout@v3 - name: Install ShellCheck - run: brew install shellcheck + run: | + sudo add-apt-repository universe + sudo apt-get update + sudo apt install shellcheck - name: Run ShellCheck run: make lint @@ -64,7 +71,7 @@ jobs: uses: actions/checkout@v3 - name: Install shfmt - run: brew install shfmt + run: curl -sS https://webi.sh/shfmt | sh - name: Run shfmt run: make fmt-check