From 2b75b919b289870efa8bd2d2f6bd6d4f686794d9 Mon Sep 17 00:00:00 2001 From: Tobias Trabelsi Date: Mon, 15 Jan 2024 22:33:21 +0100 Subject: [PATCH] add ah lint --- .github/workflows/test-and-lint.yml | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/.github/workflows/test-and-lint.yml b/.github/workflows/test-and-lint.yml index 2a00f71..102f6a4 100644 --- a/.github/workflows/test-and-lint.yml +++ b/.github/workflows/test-and-lint.yml @@ -36,6 +36,18 @@ jobs: if: steps.list-changed.outputs.changed == 'true' run: ct lint --target-branch ${{ github.event.repository.default_branch }} + - name: Install ah cli + run: | + export AH_VERSION=1.17.0 + curl -LO https://github.com/artifacthub/hub/releases/download/v${AH_VERSION}/ah_${AH_VERSION}_linux_amd64.tar.gz + tar -xf ah_${AH_VERSION}_linux_amd64.tar.gz + chmod +x ./ah + sudo mv ./ah /usr/bin/ah + rm LICENSE + - name: ah lint + run: | + ah lint + pr-build: runs-on: ubuntu-latest steps: