Create minimal readme linking to main docs #22
Workflow file for this run
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: CI | |
on: [push] | |
env: | |
YQ_VERSION: "4.25.1" | |
jobs: | |
lint: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: psf/black@stable | |
build: | |
runs-on: ubuntu-latest | |
needs: | |
- lint | |
strategy: | |
matrix: | |
template: | |
- axiom-cloudfront-lambda-cloudformation-stack | |
- axiom-cloudfront-lambda-base-cloudformation-stack | |
steps: | |
- uses: actions/checkout@v3 | |
- run: wget https://github.com/mikefarah/yq/releases/download/v$YQ_VERSION/yq_linux_amd64.tar.gz -O - | tar xz && mv yq_linux_amd64 /usr/local/bin/yq | |
- run: |- | |
mkdir build | |
yq ".Resources.LogsLambda.Properties.Code.ZipFile = \"$(sed 's/\"/\\\"/g' handler.py)\"" ${{ matrix.template }}.template.yaml > build/${{ matrix.template }}.yaml | |
- run: cat build/${{ matrix.template }}.yaml |