fix(build-push): Update for 3.0 (#1563)

This commit is contained in:
Pepe Fagoaga
2022-12-21 11:47:32 +01:00
committed by GitHub
parent 4e34040e62
commit 80a8cfb6a6
2 changed files with 45 additions and 51 deletions

View File

@@ -1,12 +1,12 @@
name: Lint & Test
name: pr-lint-test
on:
push:
branches:
- "prowler-3.0-dev"
- "master"
pull_request:
branches:
- "prowler-3.0-dev"
- "master"
jobs:
build:
@@ -30,7 +30,7 @@ jobs:
VERSION=$(curl --silent "https://api.github.com/repos/hadolint/hadolint/releases/latest" | \
grep '"tag_name":' | \
sed -E 's/.*"v([^"]+)".*/\1/' \
) && curl -L -o /tmp/hadolint https://github.com/hadolint/hadolint/releases/download/v${VERSION}/hadolint-Linux-x86_64 \
) && curl -L -o /tmp/hadolint "https://github.com/hadolint/hadolint/releases/download/v${VERSION}/hadolint-Linux-x86_64" \
&& chmod +x /tmp/hadolint
- name: Lint with flake8
run: |