Skip to content

Bump hashicorp/google from 6.2.0 to 6.14.1 #205

Bump hashicorp/google from 6.2.0 to 6.14.1

Bump hashicorp/google from 6.2.0 to 6.14.1 #205

Workflow file for this run

name: Sonar Scan
on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
sonarcloud:
name: SonarCloud
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.9", "3.10", "3.11", "3.12"]
steps:
- name: Checkout the code
uses: actions/checkout@main
with:
fetch-depth: 0 # Shallow clones should be disabled for a better relevancy of analysis
- name: Setup Python
uses: actions/setup-python@main
with:
python-version: ${{ matrix.python-version }}
- name: Setup TFLint
uses: terraform-linters/setup-tflint@master
- name: Configure Python
run: |
set -x
pip3 install -U pip pipenv
pipenv requirements --dev > reqs
pip3 install -r reqs
pytest --cov --cov-report=xml
pylint --output-format=parseable --output=pylint.lint gke/*.py
sed -i -e "s/project_version/$(cat .version)-$(git rev-parse --short=6 HEAD)/g" sonar-project.properties
- name: Run TFLint
run: tflint --recursive -f json > tflint.json || true
- name: Coveralls
uses: coverallsapp/github-action@v2
with:
parallel: true
flag-name: run-${{ matrix.python-version }}
finish:
needs: sonarcloud
runs-on: ubuntu-latest
steps:
- name: Close parallel build
uses: coverallsapp/github-action@v1
with:
parallel-finished: true
carryforward: "run-3.9,run-3.10,run-3.11,run-3.12"