From 37c5dcb655bfbc01ffce71e3eed976a51a6c6a14 Mon Sep 17 00:00:00 2001 From: Alexandre Alapetite Date: Fri, 24 Nov 2023 16:03:48 +0100 Subject: [PATCH] Remove irrelevant tests --- .github/workflows/tests.yml | 17 +---------------- 1 file changed, 1 insertion(+), 16 deletions(-) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index e8a098e..0931a76 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -88,26 +88,11 @@ jobs: uses: actions/cache@v3 with: path: bin - key: ${{ runner.os }}-bin-shfmt@v3.7.0-hadolint@v2.12.0-typos@v1.16.21 + key: ${{ runner.os }}-typos@v1.16.21 - name: Add ./bin/ to $PATH run: mkdir -p bin/ && echo "${PWD}/bin" >> $GITHUB_PATH - - name: Install shfmt - if: steps.shell-cache.outputs.cache-hit != 'true' - run: GOBIN=${PWD}/bin/ go install mvdan.cc/sh/v3/cmd/shfmt@v3.7.0 - - - name: Check shell script syntax - # shellcheck is pre-installed https://github.com/actions/virtual-environments/blob/main/images/linux/Ubuntu2204-Readme.md - run: ./tests/shellchecks.sh - - - name: Install hadolint - if: steps.shell-cache.outputs.cache-hit != 'true' - run: curl -sL -o ./bin/hadolint "https://github.com/hadolint/hadolint/releases/download/v2.12.0/hadolint-$(uname -s)-$(uname -m)" && chmod 700 ./bin/hadolint - - - name: Check Dockerfile syntax - run: find . -name 'Dockerfile*' -print0 | xargs -0 -n1 ./bin/hadolint --failure-threshold warning - - name: Install typos if: steps.shell-cache.outputs.cache-hit != 'true' run: |