diff --git a/.github/workflows/continuous_integration.yml b/.github/workflows/continuous_integration.yml index d9d3cc99..4abaca20 100755 --- a/.github/workflows/continuous_integration.yml +++ b/.github/workflows/continuous_integration.yml @@ -50,13 +50,17 @@ jobs: - name: Install Microsoft qsharp/qdk run: | - wget https://packages.microsoft.com/config/ubuntu/20.04/packages-microsoft-prod.deb -O packages-microsoft-prod.deb + wget https://packages.microsoft.com/config/ubuntu/24.04/packages-microsoft-prod.deb -O packages-microsoft-prod.deb sudo dpkg -i packages-microsoft-prod.deb rm packages-microsoft-prod.deb sudo apt-get update; sudo apt-get install -y apt-transport-https && sudo apt-get update - sudo apt-get install -y dotnet-sdk-5.0 + sudo apt-get install -y dotnet-sdk-8.0 + echo "BB" dotnet tool install -g Microsoft.Quantum.IQSharp + echo "YIYIYIYIYI" + sudo ln -s /usr/share/dotnet/shared /usr/lib/dotnet $(which dotnet-iqsharp) install --user + echo "YAYAYAYAYAYA" pip install qsharp if: always() diff --git a/.github/workflows/semgrep.yml b/.github/workflows/semgrep.yml new file mode 100644 index 00000000..bdbcae86 --- /dev/null +++ b/.github/workflows/semgrep.yml @@ -0,0 +1,39 @@ +# Name of this GitHub Actions workflow. +name: Semgrep +on: + # Scan changed files in PRs (diff-aware scanning): + pull_request: {} + # Scan on-demand through GitHub Actions interface: + workflow_dispatch: {} + # Scan mainline branches if there are changes to .github/workflows/semgrep.yml: + push: + branches: + - main + - semgrep_integration + paths: + - .github/workflows/semgrep.yml + # Schedule the CI job (this method uses cron syntax): + schedule: + - cron: '20 17 * * *' # Sets Semgrep to scan every day at 17:20 UTC. + # It is recommended to change the schedule to a random time. +jobs: + semgrep: + # User definable name of this GitHub Actions job. + name: semgrep/ci + # If you are self-hosting, change the following `runs-on` value: + runs-on: ubuntu-latest + container: + # A Docker image with Semgrep installed. Do not change this. + image: semgrep/semgrep + # Skip any PR created by dependabot to avoid permission issues: + if: (github.actor != 'dependabot[bot]') + steps: + # Fetch project source with GitHub Actions Checkout. Use either v3 or v4. + - uses: actions/checkout@v4 + # Run the "semgrep ci" command on the command line of the docker image. + - run: semgrep ci + env: + # Connect to Semgrep AppSec Platform through your SEMGREP_APP_TOKEN. + # Generate a token from Semgrep AppSec Platform > Settings + # and add it to your GitHub secrets. + SEMGREP_APP_TOKEN: ${{ secrets.SEMGREP_APP_TOKEN }} diff --git a/README.rst b/README.rst index 1e03720f..a513e256 100644 --- a/README.rst +++ b/README.rst @@ -27,13 +27,13 @@ Tangelo is an open-source Python package maintained by `SandboxAQ - Tutorials + Tutorials  ·  Features  ·  Docs  ·  - Blog + Blog -------------