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 19, 2024
1 parent 57829c7 commit 5e5ad61
Show file tree
Hide file tree
Showing 2 changed files with 44 additions and 0 deletions.
42 changes: 42 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
---
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
with:
persist-credentials: false
- name: Install dependencies
run: |
make test-deps
- 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
with:
persist-credentials: false
- 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 5e5ad61

Please sign in to comment.