Skip to content

Bump bcrypt from 4.1.3 to 4.2.1 in /{{ cookiecutter.name }} #934

Bump bcrypt from 4.1.3 to 4.2.1 in /{{ cookiecutter.name }}

Bump bcrypt from 4.1.3 to 4.2.1 in /{{ cookiecutter.name }} #934

Workflow file for this run

name: CI
on:
push:
branches:
- master
pull_request:
jobs:
bootstrap:
runs-on: ubuntu-latest
services:
postgres:
env:
POSTGRES_PASSWORD: secret
image: postgres:16.2-alpine
options: >-
--health-cmd pg_isready
--health-interval 10s
--health-retries 5
--health-timeout 5s
ports:
- 5432:5432
env:
DATABASE_URL: postgres://postgres:secret@localhost:5432/postgres
steps:
- name: checkout
uses: actions/checkout@v4
- name: build
uses: ./.github/actions/build
- name: bootstrap
run: |
. venv/bin/activate
make bootstrap
- name: lint the generated project
run: |
. venv/bin/activate
cd testproject
make lint
- name: save the bootstrap result
uses: actions/upload-artifact@v4
with:
name: generated
path: testproject
include-hidden-files: true
build-docker-image:
needs: bootstrap
runs-on: ubuntu-latest
steps:
- name: checkout
uses: actions/checkout@v4
- name: build
uses: ./.github/actions/build
- name: download build artifact
uses: actions/download-artifact@v4
with:
name: generated
path: testproject
- name: setup qemu
uses: docker/setup-qemu-action@v3
- name: setup buildx
uses: docker/setup-buildx-action@v3
- name: make sure docker image is buildable
uses: docker/build-push-action@v6
with:
build-args: |
PYTHON_VERSION=${{ env.python-version }}
cache-from: type=gha
cache-to: type=gha,mode=max
context: testproject
push: false