From 49dd7526e98b577d1af82dcc4d7296f3f6bf7a0c Mon Sep 17 00:00:00 2001 From: Chris Wiegman Date: Mon, 3 Jun 2024 19:05:12 -0500 Subject: [PATCH] Try it with Chrome --- .github/workflows/test.yml | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 8e30aff6..d0a5cf1e 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -34,11 +34,16 @@ jobs: with: go-version: "1.22" + - name: Setup Chrome + uses: browser-actions/setup-chrome@v1 + id: setup-chrome + + - name: Setup a Browser run: | - sudo apt-get install -y w3m - sudo update-alternatives --install /usr/bin/www-browser www-browser /usr/bin/w3m 500 - sudo update-alternatives --set www-browser /usr/bin/w3m + ${{ steps.setup-chrome.outputs.chrome-path }} --version + sudo update-alternatives --install /usr/bin/www-browser www-browser ${{ steps.setup-chrome.outputs.chrome-path }} 500 + sudo update-alternatives --set www-browser ${{ steps.setup-chrome.outputs.chrome-path }} sudo update-alternatives --config www-browser - name: Build test cli