-
Notifications
You must be signed in to change notification settings - Fork 26
30 lines (28 loc) · 881 Bytes
/
ci.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
---
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 .