Skip to content

Update guard hook (#251) #91

Update guard hook (#251)

Update guard hook (#251) #91

name: packages-cfn_guard_rs-CI
on:
push:
branches:
- main
paths:
- "packages/cfn_guard_rs/**"
- "packages/cfn_guard_rs_hook/**"
pull_request:
paths:
- "packages/cfn_guard_rs/**"
- "packages/cfn_guard_rs_hook/**"
jobs:
unitlint:
strategy:
matrix:
os: [ubuntu-latest, macos-latest, windows-latest]
target: [aarch64, x86_64]
python: [ 3.8, 3.9, "3.10", "3.11" ]
directory:
- ./packages/cfn_guard_rs
- ./packages/cfn_guard_rs_hook
runs-on: ${{ matrix.os }}
defaults:
run:
working-directory: ${{ matrix.directory }}
steps:
- uses: actions/checkout@v3
- name: Setup Python
uses: actions/setup-python@v1
with:
python-version: ${{ matrix.python }}
- name: Install Tox and any other packages
run: pip3 install tox
- name: Run Tox
run: |
python3 --version
tox -e py