Skip to content

2.4.12

2.4.12 #43

Workflow file for this run

name: main
on:
push:
branches:
- master
- main
release:
types:
- published
env:
GITHUB_EVENT: ${{ toJson(github.event) }}
GITHUB_EVENT_NAME: ${{ github.event_name }}
permissions:
id-token: write
jobs:
build:
runs-on: ubuntu-24.04
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: '3.9'
cache: pip
cache-dependency-path: 'requirements/*.txt'
- name: Install system dependencies
run: |
sudo apt-get install libffi-dev libpq-dev
- name: Setup Python and dependencies
run: |
pip install --no-warn-script-location \
-r requirements/core.txt \
-r requirements/test.txt
pip install -e python-modules/cis_*
- name: Run the tests!
run: |
./ci/test.sh
- name: Configure AWS
uses: aws-actions/configure-aws-credentials@v4
with:
role-to-assume: arn:aws:iam::320464205386:role/GitHubCIS
aws-region: us-west-2
- name: Build the layer
run: |
./ci/layer-build.sh
- name: Upload the layer
run: |
./ci/layer-upload.sh