Add rule to validate AWS:* Prefix Resource Tags are blocked #196
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
# This workflow will install Python dependencies, run tests and lint with a variety of Python versions | |
# For more information see: https://help.github.com/actions/language-and-framework-guides/using-python-with-github-actions | |
name: continuous integration | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
branches: | |
- main | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
env: | |
SAM_CLI_TELEMETRY: "0" | |
AWS_REGION: "us-east-1" | |
AWS_DEFAULT_REGION: "us-east-1" | |
LOG_PATH: /tmp/debug-logs | |
PIP_LOG_FILE: /tmp/pip.log | |
strategy: | |
fail-fast: false | |
matrix: | |
python-version: | |
- "3.10" | |
- "3.9" | |
- "3.8" | |
steps: | |
- uses: actions/checkout@8e5e7e5ab8b370d6c329ec480221332ada57f0ab # tag=v3 | |
- name: Set up Python ${{ matrix.python-version }} | |
uses: actions/setup-python@57ded4d7d5e986d7296eab16560982c6dd7c923b # v4.6.0 | |
with: | |
python-version: ${{ matrix.python-version }} | |
- name: Install dependencies | |
run: | | |
python -m pip install --upgrade pip | |
pip install -e . | |
- name: pre-commit run | |
run: | | |
pre-commit run --all-files |