Skip to content

chore(deps): lock file maintenance #351

chore(deps): lock file maintenance

chore(deps): lock file maintenance #351

Workflow file for this run

name: CI tools
on:
pull_request:
branches:
- main
jobs:
changes:
runs-on: ubuntu-latest
outputs:
images: ${{ steps.filter.outputs.changes }}
steps:
- name: Checkout
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
- uses: dorny/paths-filter@7267a8516b6f92bdb098633497bad573efdbf271 # v2.12.0
id: filter
with:
filters: |
images/csp_violation_report_service: 'images/csp_violation_report_service/**'
ci:
if: needs.changes.outputs.images != '[]'
runs-on: ubuntu-latest
needs: changes
strategy:
fail-fast: false
matrix:
image: ${{ fromJSON(needs.changes.outputs.images) }}
steps:
- name: Checkout
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
- name: Install dependencies
working-directory: ${{ matrix.image }}
run: |
make install
make install-dev
- name: Lint, format and test
working-directory: ${{ matrix.image }}
run: |
make lint-ci
make fmt-ci
make test