Skip to content

Merge pull request #4 from michaelwnau/dependabot/pip/jinja2-3.1.4 #50

Merge pull request #4 from michaelwnau/dependabot/pip/jinja2-3.1.4

Merge pull request #4 from michaelwnau/dependabot/pip/jinja2-3.1.4 #50

Workflow file for this run

# on: [push]
# jobs:
# build-and-publish:
# runs-on: ubuntu-latest
# name: My workflow
# steps:
# - name: Execute Action Graph
# uses: actionforge/action@b350d491aef4ae17ac4f5270a2fc5186be0f39db # v0.9.42
# with:
# graph_file: workflow-ci.yml
on: push
jobs:
build-and-publish:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v2
- name: Scan code for secrets
uses: trufflesecurity/[email protected]
with:
path: ./
- name: Set up Python
uses: actions/setup-python@v2
with:
python-version: "3.12" # Adjust to the Python version required by your project
- name: Install Poetry
uses: dschep/[email protected]
- name: Cache dependencies
uses: actions/cache@v2
with:
path: ~/.cache/poetry
key: ${{ runner.os }}-poetry-${{ hashFiles('**/poetry.lock') }}
- name: Build
run: |
poetry install || exit 1
poetry build || exit 1