Skip to content

Merge pull request #526 from freedomofpress/dependabot/pip/importlib-… #72

Merge pull request #526 from freedomofpress/dependabot/pip/importlib-…

Merge pull request #526 from freedomofpress/dependabot/pip/importlib-… #72

Workflow file for this run

---
name: CI
on: [push, pull_request, workflow_call]
jobs:
lint:
runs-on: ubuntu-latest
# We use a standard Debian image to mirror a typical developer environment.
# This should be updated whenever a new Debian stable version is available.
container: debian:bullseye
steps:
- uses: actions/checkout@v3
- name: Install dependencies
run: |
apt-get update && apt-get install --yes --no-install-recommends make python3-pip
pip install poetry==1.4.0
poetry install --no-ansi
- name: Run lint
run: |
make docs-lint
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Build production deployment
run: |
podman build --build-arg GIT_BRANCH=$(git rev-parse HEAD) --file ./deploy/Dockerfile .