py dev (deps-dev): bump cryptography from 43.0.0 to 43.0.1 #186
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: pull-request | |
on: | |
pull_request: | |
branches: | |
- develop | |
jobs: | |
coverage: | |
runs-on: ubuntu-latest | |
if: github.repository == 'NHSDigital/terraform-aws-mesh-client' | |
steps: | |
- name: checkout | |
uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 | |
- name: common build setup | |
uses: ./.github/actions/build-common | |
- name: ci install | |
uses: ./.github/actions/install-ci | |
- name: black | |
run: make black-check | |
- name: start localstack | |
run: make up-ci | |
- name: coverage and sonar scan | |
uses: ./.github/actions/coverage-and-sonar | |
if: github.actor != 'dependabot[bot]' && (success() || failure()) | |
with: | |
github-token: ${{ secrets.GITHUB_TOKEN }} | |
sonar-token: ${{ secrets.SONAR_TOKEN }} | |
- name: archive reports | |
if: github.actor != 'dependabot[bot]' && (success() || failure()) | |
uses: actions/upload-artifact@v4 | |
with: | |
name: reports | |
path: reports/**/* | |
- name: publish junit reports | |
if: success() || failure() | |
uses: mikepenz/action-junit-report@v4 | |
with: | |
check_name: junit reports | |
report_paths: reports/junit/*.xml | |
- name: stop docker containers | |
if: success() || failure() | |
run: make down | |
lint: | |
runs-on: ubuntu-latest | |
if: github.repository == 'NHSDigital/terraform-aws-mesh-client' | |
steps: | |
- name: checkout | |
uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 | |
- name: common build setup | |
uses: ./.github/actions/build-common | |
- name: ci install | |
uses: ./.github/actions/install-ci | |
- name: black | |
run: make black-check | |
- name: tfsec | |
run: | | |
TFSEC_VERSION="v$(cat .tool-versions | grep tfsec | sed 's#tfsec ##')" | |
echo "${TFSEC_VERSION}" | |
wget -q "https://github.com/aquasecurity/tfsec/releases/download/${TFSEC_VERSION}/tfsec-linux-amd64" -O ./tfsec | |
chmod +x ./tfsec | |
./tfsec module --config-file tfsec.yml | |
- name: tflint | |
run: make tflint | |
- name: ruff | |
run: make ruff-ci | |
- name: mypy | |
run: make mypy | |
- name: shellcheck | |
uses: ludeeus/action-shellcheck@master | |
with: | |
ignore_paths: .venv build | |
ignore_names: git-secrets | |
env: | |
SHELLCHECK_OPTS: -f gcc -e SC1090,SC1091 |