Skip to content

Run CI using GitHub Actions #29

Run CI using GitHub Actions

Run CI using GitHub Actions #29

Workflow file for this run

name: CI
on: [push, pull_request]
jobs:
lint:
runs-on: ubuntu-latest
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
container:
image: registry.fedoraproject.org/fedora:32
steps:
- run: dnf install -y podman git
- uses: actions/checkout@v3
- name: Build production deployment
run: podman build --build-arg GIT_BRANCH=$(git rev-parse HEAD) --file deploy/Dockerfile .