Skip to content

Commit

Permalink
Add github actions workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
rocodes committed Dec 6, 2024
1 parent f20a440 commit 56bec99
Show file tree
Hide file tree
Showing 3 changed files with 57 additions and 0 deletions.
15 changes: 15 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
version: 2
updates:
- package-ecosystem: "pip"
directory: "/"
schedule:
interval: "weekly"
allow:
- dependency-type: "all"
groups:
dependencies:
patterns: ["*"]
- package-ecosystem: "github-actions"
directory: "/"
schedule:
interval: "weekly"
40 changes: 40 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
---
name: ci

on: [push, pull_request, merge_group]

jobs:
lint:
runs-on: ubuntu-latest
container:
image: registry.fedoraproject.org/fedora:37
steps:
- run: dnf install -y git make
- uses: actions/checkout@v4
- name: Install dependencies
run: |
make test-deps
pip install poetry==1.8.2
poetry install --no-ansi
- name: Run linters
run: |
git config --global --add safe.directory '*'
make lint
build-rpm:
runs-on: ubuntu-latest
container:
image: registry.fedoraproject.org/fedora:37
steps:
- run: dnf install -y git make
- uses: actions/checkout@v4
- name: Install dependencies
run: |
make build-deps
- name: Build RPM
run: |
git config --global --add safe.directory '*'
make build-rpm
- name: Check reproducibility
run: |
make test-deps
make reprotest
2 changes: 2 additions & 0 deletions .github/workstation-ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
# for <https://github.com/freedomofpress/securedrop-workstation-ci>
qubes: "4.2"

0 comments on commit 56bec99

Please sign in to comment.