From 59e8fcd27c720a2752e376fa49a4607647fc58a1 Mon Sep 17 00:00:00 2001 From: Sheldon Hull Date: Mon, 29 Jan 2024 17:46:02 +0100 Subject: [PATCH] chore(ci): update test workflow in GitHub Actions - Switch branch and directory name quotes in test.yaml to single quotes - Update aqua_version in aqua action from v1.32.0 to v2.21.3 - Add 'update-github-path-with-aqua' and 'aqua-install-tooling' steps - Change aqua_opts in both Aqua steps to '--tags installfirst' and '--tags tests' respectively --- .github/workflows/test.yaml | 19 +++++++++++-------- 1 file changed, 11 insertions(+), 8 deletions(-) diff --git a/.github/workflows/test.yaml b/.github/workflows/test.yaml index febc3b6..9e484e1 100644 --- a/.github/workflows/test.yaml +++ b/.github/workflows/test.yaml @@ -39,20 +39,23 @@ jobs: uses: actions/setup-python@v4 with: python-version: "3.10" + - name: Aqua uses: aquaproj/aqua-installer@294926f94b4233f202a2f03875c604f840cfed70 # v2.1.1 continue-on-error: true with: - aqua_version: v1.32.0 + aqua_version: v2.21.3 enable_aqua_install: true aqua_opts: "--tags installfirst" - - name: Aqua - uses: aquaproj/aqua-installer@294926f94b4233f202a2f03875c604f840cfed70 # v2.1.1 - continue-on-error: true - with: - aqua_version: v1.32.0 - enable_aqua_install: true - aqua_opts: "--tags tests" + + - name: update-github-path-with-aqua + run: | + echo "${AQUA_ROOT_DIR:-${XDG_DATA_HOME:-$HOME/.local/share}/aquaproj-aqua}/bin/aqua" >> $GITHUB_PATH + + - name: aqua-install-tooling + run: | + aqua install --tags installfirst + aqua install --tags tests - name: Init run: mage initCI ${{ matrix.ansible }}