Skip to content

Commit

Permalink
Migrate CI to GitHub Actions away from CircleCI
Browse files Browse the repository at this point in the history
Refs <freedomofpress/securedrop-tooling#5>.

Co-authored-by: Kunal Mehta <[email protected]>
  • Loading branch information
leee and legoktm committed Dec 8, 2023
1 parent e4e3d34 commit 37320c3
Show file tree
Hide file tree
Showing 3 changed files with 47 additions and 65 deletions.
65 changes: 0 additions & 65 deletions .circleci/config.yml

This file was deleted.

28 changes: 28 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
---
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
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 .
19 changes: 19 additions & 0 deletions .github/workflows/linkcheck.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
name: Link check
on:
schedule:
- cron: '0 3 * * *'

jobs:
linkcheck:
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-linkcheck

0 comments on commit 37320c3

Please sign in to comment.