Bump the updates group across 1 directory with 4 updates #161
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: Pipeline | |
on: | |
push: | |
workflow_dispatch: | |
env: | |
AWS_REGION: us-east-1 | |
PIPENV_VENV_IN_PROJECT: true | |
jobs: | |
test-unit: | |
runs-on: ubuntu-latest | |
timeout-minutes: 5 | |
env: | |
STAGE: local | |
steps: | |
- name: Check out repository code | |
uses: actions/checkout@v2 | |
- name: Setup Python | |
uses: actions/setup-python@v2 | |
with: | |
python-version: "3.11" | |
- name: Install pipenv | |
run: python -m pip install --upgrade pipenv | |
- name: Setup Terraform | |
uses: hashicorp/setup-terraform@v2 | |
with: | |
terraform_wrapper: false | |
- name: Check format | |
run: make test-format | |
- name: Unit test | |
run: make test-unit | |
# deploy: | |
# runs-on: ubuntu-latest | |
# if: github.ref == 'refs/heads/main' | |
# needs: test-unit | |
# timeout-minutes: 15 | |
# permissions: | |
# id-token: write | |
# contents: read | |
# steps: | |
# - name: Check out repository code | |
# uses: actions/checkout@v2 | |
# - name: Setup Python | |
# uses: actions/setup-python@v2 | |
# with: | |
# python-version: "3.11" | |
# - name: Install pipenv | |
# run: python -m pip install --upgrade pipenv | |
# - name: Setup Terraform | |
# uses: hashicorp/setup-terraform@v2 | |
# with: | |
# terraform_wrapper: false | |
# - name: Configure AWS Credentials | |
# uses: aws-actions/configure-aws-credentials@v4 | |
# with: | |
# aws-region: ${{env.AWS_REGION}} | |
# role-to-assume: ${{ secrets.CI }} | |
# role-duration-seconds: 900 | |
# role-skip-session-tagging: true | |
# - name: Deploy to dev | |
# run: make |