chore(deps): update dependency boto3 to v1.35.54 #330
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: Lint, format and test code | |
on: | |
workflow_dispatch: | |
pull_request: | |
paths: | |
- layer/** | |
- .github/workflows/ci_code.yml | |
jobs: | |
tests: | |
runs-on: ubuntu-latest | |
strategy: | |
fail-fast: false | |
matrix: | |
folder: ["layer"] | |
steps: | |
- name: Checkout | |
uses: actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744 # v3.6.0 | |
- name: Check for changes | |
uses: dorny/paths-filter@7267a8516b6f92bdb098633497bad573efdbf271 # v2.12.0 | |
id: filter | |
with: | |
filters: | | |
changes: | |
- '${{ matrix.folder }}/**' | |
- '.github/workflows/ci_code.yml' | |
- name: Setup python | |
if: ${{ steps.filter.outputs.changes == 'true' }} | |
uses: actions/setup-python@b64ffcaf5b410884ad320a9cfac8866006a109aa # v4.8.0 | |
with: | |
python-version: "3.9" | |
- name: Install dev dependencies | |
if: ${{ steps.filter.outputs.changes == 'true' }} | |
working-directory: ${{ matrix.folder }} | |
run: make install-dev | |
- name: Install dependencies | |
if: ${{ steps.filter.outputs.changes == 'true' }} | |
working-directory: ${{ matrix.folder }} | |
run: make install | |
- name: Lint | |
if: ${{ steps.filter.outputs.changes == 'true' }} | |
working-directory: ${{ matrix.folder }} | |
run: make lint-ci | |
- name: Format | |
if: ${{ steps.filter.outputs.changes == 'true' }} | |
working-directory: ${{ matrix.folder }} | |
run: make fmt-ci | |
- name: Test | |
if: ${{ steps.filter.outputs.changes == 'true' }} | |
working-directory: ${{ matrix.folder }} | |
run: make test |