build(deps): bump actions/checkout from 3 to 4 #124
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: tests | |
on: | |
pull_request: | |
push: | |
branches: main | |
jobs: | |
tests: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Install pdftotext dependencies | |
run: | | |
sudo apt-get update && sudo apt-get -y install build-essential libpoppler-cpp-dev pkg-config | |
- name: Setup Python & Poetry | |
uses: ./.github/actions/setup-python-poetry | |
with: | |
python-version: "3.11" | |
poetry-version: "1.6.1" | |
- name: Install git crypt/john & run tests | |
run: | | |
eval "$(/home/linuxbrew/.linuxbrew/bin/brew shellenv)" | |
brew fetch git-crypt & brew fetch john-jumbo | |
brew install git-crypt john-jumbo | |
echo '${{ secrets.GIT_CRYPT_KEY }}' | base64 --decode > /tmp/git-crypt-key | |
git-crypt unlock /tmp/git-crypt-key | |
rm /tmp/git-crypt-key | |
poetry run task test |