Skip to content

Commit

Permalink
ci: Enforce pinned pip dependencies
Browse files Browse the repository at this point in the history
This should give us a 10/10 OpenSSF rating for pinned dependencies.
  • Loading branch information
rettichschnidi committed Nov 17, 2024
1 parent d723815 commit 17d1b00
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build_and_test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ jobs:

- name: Install dependencies
run: |
pip install -r tests/integration/requirements.txt
pip install --require-hashes -r tests/integration/requirements.txt
- name: Execute integration tests
run: |
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/compliance.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
run: |
sudo apt update
sudo apt -qy --no-install-recommends install clang-format-14
pip3 install -r tools/requirements-compliance.txt
pip3 install --require-hashes -r tools/requirements-compliance.txt
- name: Check commits with gitlint
run: |
Expand Down
4 changes: 2 additions & 2 deletions tests/integration/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
pexpect==4.9.0
pytest==8.3.3
pexpect==4.9.0 --hash=sha256:7236d1e080e4936be2dc3e326cec0af72acf9212a7e1d060210e70a47e253523
pytest==8.3.3 --hash=sha256:a6853c7375b2663155079443d2e45de913a911a11d669df02a50814944db57b2
6 changes: 3 additions & 3 deletions tools/requirements-compliance.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
cmake-format==0.6.13
gitlint==0.19
pylint==3.3.1
cmake-format==0.6.13 --hash=sha256:ec7ed949101e5f0b7bc19317d122b83ccbc28fd766c41c93094845719667c56e
gitlint==0.19 --hash=sha256:3a566c6f641e054be26ecf67210c237e4fe45472f6606761c9fea7b44e570d3c
pylint==3.3.1 --hash=sha256:2f846a466dd023513240bc140ad2dd73bfc080a5d85a710afdb728c420a5a2b9
-r ../tests/integration/requirements.txt

0 comments on commit 17d1b00

Please sign in to comment.