From 31b6188645701569e061cd7f2082009f7de8b25a Mon Sep 17 00:00:00 2001 From: Abel Soares Siqueira Date: Mon, 10 Jun 2024 11:27:38 +0200 Subject: [PATCH] =?UTF-8?q?ci:=20=F0=9F=8E=A1=20Add=20Aqua=20to=20Lint=20w?= =?UTF-8?q?orkflow?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/Lint.yml | 25 ++++++++++++++++++++++++- 1 file changed, 24 insertions(+), 1 deletion(-) diff --git a/.github/workflows/Lint.yml b/.github/workflows/Lint.yml index d7ba1d15..d3899af6 100644 --- a/.github/workflows/Lint.yml +++ b/.github/workflows/Lint.yml @@ -47,9 +47,32 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 - - name: Link Checker id: lychee uses: lycheeverse/lychee-action@v1 with: fail: true + + aqua: + name: Aqua checks + runs-on: ubuntu-latest + steps: + - name: Clone + uses: actions/checkout@v4 + - name: Setup Julia + uses: julia-actions/setup-julia@v2 + with: + version: "1" + - name: Use Julia cache + uses: julia-actions/cache@v2 + - uses: julia-actions/julia-buildpkg@v1 + - name: Install Aqua + run: julia -e 'using Pkg; pkg"add Aqua"' + - name: Run Aqua + shell: julia --color=yes {0} + run: | + using Aqua # From the global env + using Pkg + pkg"activate ." + using COPIERTemplate + Aqua.test_all(COPIERTemplate)