Skip to content

chore(deps): update dependency cryptography to v42.0.8 #88

chore(deps): update dependency cryptography to v42.0.8

chore(deps): update dependency cryptography to v42.0.8 #88

name: Lint, format and test tools
on:
workflow_dispatch:
pull_request:
paths:
- "tools/**"
- ".github/workflows/pull_request_tools.yml"
jobs:
tools-test:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
tool:
- notify-service-user-sync
steps:
- name: Checkout
uses: actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744 # v3.6.0
- uses: dorny/paths-filter@7267a8516b6f92bdb098633497bad573efdbf271 # v2.12.0
id: changes
with:
filters: |
tool:
- 'tools/${{ matrix.tool }}/**'
- '.github/workflows/pull_request_tools.yml'
- name: Setup python
if: steps.changes.outputs.tool == 'true'
uses: actions/setup-python@b64ffcaf5b410884ad320a9cfac8866006a109aa # v4.8.0
with:
python-version: "3.10"
- name: Install tool dependencies
if: steps.changes.outputs.tool == 'true'
working-directory: tools/${{ matrix.tool }}
run: make install
- name: Lint
if: steps.changes.outputs.tool == 'true'
working-directory: tools/${{ matrix.tool }}
run: make lint
- name: Format
if: steps.changes.outputs.tool == 'true'
working-directory: tools/${{ matrix.tool }}
run: make ARGS=--check fmt
- name: Test
if: steps.changes.outputs.tool == 'true'
working-directory: tools/${{ matrix.tool }}
run: make test