From 24e04f7e5b5edd33a8f75d32b4ef46d47a8c40c7 Mon Sep 17 00:00:00 2001 From: Nigel Jones Date: Mon, 17 Jun 2024 19:43:55 +0100 Subject: [PATCH] Fix #1706 scorecard - correct path to dependencies.txt Signed-off-by: Nigel Jones --- .github/workflows/unix.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/unix.yml b/.github/workflows/unix.yml index 17d77cf53..199fcf570 100644 --- a/.github/workflows/unix.yml +++ b/.github/workflows/unix.yml @@ -35,7 +35,7 @@ jobs: export LIBOQS_DIR=`pwd` && \ git config --global --add safe.directory $LIBOQS_DIR && \ cd scripts/copy_from_upstream && \ - ! pip3 install --require-hashes -r requirements.txt 2>&1 | grep ERROR && \ + ! pip3 install --require-hashes -r .github/workflows/requirements.txt 2>&1 | grep ERROR && \ python3 copy_from_upstream.py copy && \ ! git status | grep modified @@ -254,7 +254,7 @@ jobs: - name: Checkout code uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # pin@v4 - name: Install dependencies - run: env HOMEBREW_NO_AUTO_UPDATE=1 brew install ninja && pip3 install --require-hashes --break-system-packages -r requirements.txt + run: env HOMEBREW_NO_AUTO_UPDATE=1 brew install ninja && pip3 install --require-hashes --break-system-packages -r .github/workflows/requirements.txt - name: Patch GCC run: env HOMEBREW_NO_AUTO_UPDATE=1 brew uninstall --ignore-dependencies gcc@13 && wget https://raw.githubusercontent.com/Homebrew/homebrew-core/eb6dd225d093b66054e18e07d56509cf670793b1/Formula/g/gcc%4013.rb && env HOMEBREW_NO_AUTO_UPDATE=1 brew install --ignore-dependencies gcc@13.rb - name: Get system information