Add GitHub Action for Tor update check #53
Workflow file for this run
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
name: CI | |
on: [pull_request] | |
jobs: | |
buildinfo: | |
runs-on: ubuntu-latest | |
container: debian:bullseye | |
steps: | |
- name: Install dependencies | |
run: | | |
apt-get update && apt-get install --yes python3-debian git git-lfs | |
- name: Checkout | |
uses: actions/checkout@v4 | |
with: | |
lfs: true | |
fetch-depth: 0 | |
- name: Check buildinfo | |
run: | | |
git config --global --add safe.directory '*' | |
# We already checked out securedrop-apt-test above, we also need | |
# securedrop-builder for the check-buildinfo script, and build-logs | |
# for the `.buildinfo` files to check against. | |
git clone https://github.com/freedomofpress/securedrop-builder --depth 1 | |
git clone https://github.com/freedomofpress/build-logs --depth 1 | |
./securedrop-builder/scripts/check-buildinfo build-logs |