forked from open-quantum-safe/liboqs
-
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.
open-quantum-safe#1706 scorecard - address latest findings
Signed-off-by: Nigel Jones <[email protected]>
- Loading branch information
Showing
1 changed file
with
13 additions
and
13 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 |
---|---|---|
|
@@ -13,7 +13,7 @@ jobs: | |
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout code | ||
uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b # pin@v4 | ||
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # pin@v4 | ||
- name: Ensure code conventions are upheld | ||
run: python3 -m pytest --verbose tests/test_code_conventions.py | ||
- name: Check that doxygen can parse the documentation | ||
|
@@ -27,7 +27,7 @@ jobs: | |
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout code | ||
uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b # pin@v4 | ||
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # pin@v4 | ||
- name: Verify copy_from_upstream state | ||
run: | | ||
git config --global user.name "ciuser" && \ | ||
|
@@ -41,7 +41,7 @@ jobs: | |
buildcheck: | ||
name: Check that code passes a basic build before starting heavier tests | ||
needs: [stylecheck, upstreamcheck] | ||
needs: [ stylecheck, upstreamcheck ] | ||
strategy: | ||
matrix: | ||
include: | ||
|
@@ -56,7 +56,7 @@ jobs: | |
SIG_NAME: dilithium_3 | ||
steps: | ||
- name: Checkout code | ||
uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b # pin@v4 | ||
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # pin@v4 | ||
- name: Configure | ||
run: | | ||
mkdir build && \ | ||
|
@@ -137,7 +137,7 @@ jobs: | |
image: ${{ matrix.container }} | ||
steps: | ||
- name: Checkout code | ||
uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b # pin@v4 | ||
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # pin@v4 | ||
- name: Configure | ||
run: mkdir build && cd build && cmake -GNinja ${{ matrix.CMAKE_ARGS }} .. && cmake -LA .. | ||
- name: Build | ||
|
@@ -152,7 +152,7 @@ jobs: | |
working-directory: build | ||
- name: Retain .deb file | ||
if: matrix.name == 'jammy-std-openssl3' | ||
uses: actions/upload-artifact@v3 | ||
uses: actions/upload-artifact@a8a3f3ad30e3422c9c7b888a15615d19a852ae32 # pin@v3 | ||
with: | ||
name: liboqs-openssl3-shared-x64 | ||
path: build/*.deb | ||
|
@@ -182,7 +182,7 @@ jobs: | |
# CMAKE_ARGS: -DOQS_ENABLE_SIG_SPHINCS=OFF -DOQS_USE_OPENSSL=OFF -DOQS_OPT_TARGET=generic | ||
steps: | ||
- name: Checkout code | ||
uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b # pin@v4 | ||
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # pin@v4 | ||
- name: Install the emulation handlers | ||
run: docker run --rm --privileged multiarch/qemu-user-static:register --reset | ||
- name: Build in an x86_64 container | ||
|
@@ -223,7 +223,7 @@ jobs: | |
CMAKE_ARGS: -DCMAKE_TOOLCHAIN_FILE=../.CMake/toolchain_windows-amd64.cmake -DBUILD_SHARED_LIBS=ON | ||
steps: | ||
- name: Checkout code | ||
uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b # pin@v4 | ||
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # pin@v4 | ||
- name: Configure | ||
run: mkdir build && cd build && cmake -GNinja ${{ matrix.CMAKE_ARGS }} .. && cmake -LA .. | ||
- name: Build | ||
|
@@ -252,10 +252,10 @@ jobs: | |
with: | ||
python-version: '3.12' | ||
- name: Checkout code | ||
uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b # pin@v4 | ||
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # pin@v4 | ||
- name: Install dependencies | ||
run: env HOMEBREW_NO_AUTO_UPDATE=1 brew install ninja && pip3 install --break-system-packages pytest pytest-xdist pyyaml | ||
- name: Patch GCC | ||
run: env HOMEBREW_NO_AUTO_UPDATE=1 brew install ninja && pip3 install --require-hashes --break-system-packages -r 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 [email protected] | ||
- name: Get system information | ||
run: sysctl -a | grep machdep.cpu | ||
|
@@ -275,7 +275,7 @@ jobs: | |
image: openquantumsafe/ci-ubuntu-jammy:latest | ||
steps: | ||
- name: Checkout code | ||
uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b # pin@v4 | ||
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # pin@v4 | ||
- name: Retrieve OpenSSL330 from cache | ||
id: cache-openssl330 | ||
uses: actions/cache@e12d46a63a90f2fae62d114769bbf2a179198b5c # pin@v3 | ||
|
@@ -284,7 +284,7 @@ jobs: | |
key: ${{ runner.os }}-openssl330 | ||
- name: Checkout the OpenSSL v3.3.0 commit | ||
if: steps.cache-openssl330.outputs.cache-hit != 'true' | ||
uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b # pin@v4 | ||
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # pin@v4 | ||
with: | ||
repository: 'openssl/openssl' | ||
ref: 'openssl-3.3.0-beta1' | ||
|