Skip to content

Commit

Permalink
Merge pull request #114 from gnbaker/master
Browse files Browse the repository at this point in the history
Update top-level permissions for OSSF complicance
  • Loading branch information
ryanxw authored Jul 23, 2024
2 parents 244798a + 76fc4ac commit 1857bb4
Show file tree
Hide file tree
Showing 6 changed files with 8 additions and 3 deletions.
1 change: 1 addition & 0 deletions .github/workflows/cpp_build_with_cmake.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
name: C++ build with CMake
permissions: read-all

# Controls when the action will run:
# Triggers the workflow on push or pull request events but only for the master branch
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/docker-image.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
name: Docker Image CI
permissions: read-all

on:
push:
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/python_build_mpi.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
name: Python build with MPI
permissions: read-all

# Triggers the workflow on push or pull request events but only for the master branch
on:
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/python_build_no_mpi.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
name: Python build (no MPI)
permissions: read-all

# Triggers the workflow on push or pull request events but only for the master branch
on:
Expand Down
6 changes: 3 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -41,9 +41,9 @@ RUN tar -xzf cmake-3.15.2-Linux-x86_64.tar.gz -C /usr/local/ --strip-components=

# Fetch and install the Intel MKL libraries required for building the Intel-QS simulator.
WORKDIR swpkgs/mkl
RUN wget "https://apt.repos.intel.com/intel-gpg-keys/GPG-PUB-KEY-INTEL-SW-PRODUCTS-2019.PUB"
RUN apt-key add GPG-PUB-KEY-INTEL-SW-PRODUCTS-2019.PUB
RUN rm GPG-PUB-KEY-INTEL-SW-PRODUCTS-2019.PUB
RUN wget "https://apt.repos.intel.com/intel-gpg-keys/GPG-PUB-KEY-INTEL-SW-PRODUCTS.PUB"
RUN apt-key add GPG-PUB-KEY-INTEL-SW-PRODUCTS.PUB
RUN rm GPG-PUB-KEY-INTEL-SW-PRODUCTS.PUB
RUN sh -c 'echo deb https://apt.repos.intel.com/mkl all main > /etc/apt/sources.list.d/intel-mkl.list'
RUN apt-get update
RUN apt-get install -y intel-mkl-64bit-2019.2-057
Expand Down
1 change: 1 addition & 0 deletions unit_test/include/random_number_generator_test.hpp
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
#ifndef RANDOM_NUMBER_GENERATOR_TEST_HPP
#define RANDOM_NUMBER_GENERATOR_TEST_HPP

#include <iomanip>
#include <map>

#include "../../include/qureg.hpp"
Expand Down

0 comments on commit 1857bb4

Please sign in to comment.