-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #6 from freedomofpress/add-ci
Add github actions, license file, security.md
- Loading branch information
Showing
6 changed files
with
714 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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" |
Oops, something went wrong.