Skip to content

Commit

Permalink
Merge pull request #6 from freedomofpress/add-ci
Browse files Browse the repository at this point in the history
Add github actions, license file, security.md
  • Loading branch information
legoktm authored Dec 20, 2024
2 parents 8ddda26 + 56b4114 commit 95f2cea
Show file tree
Hide file tree
Showing 6 changed files with 714 additions and 3 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"
Loading

0 comments on commit 95f2cea

Please sign in to comment.