Skip to content

Commit

Permalink
restored old files, only using ci.yaml for workflow.
Browse files Browse the repository at this point in the history
  • Loading branch information
TrentConley committed Jul 16, 2024
1 parent 719375c commit d9621db
Show file tree
Hide file tree
Showing 6 changed files with 1,031 additions and 1,031 deletions.
136 changes: 68 additions & 68 deletions .github/workflows/codeql-analysis.yml
Original file line number Diff line number Diff line change
@@ -1,77 +1,77 @@
# For most projects, this workflow file will not need changing; you simply need
# to commit it to your repository.
#
# You may wish to alter this file to override the set of languages analyzed,
# or to provide custom queries or build logic.
name: "CodeQL"
# # For most projects, this workflow file will not need changing; you simply need
# # to commit it to your repository.
# #
# # You may wish to alter this file to override the set of languages analyzed,
# # or to provide custom queries or build logic.
# name: "CodeQL"

on:
push:
branches: [master]
pull_request:
# The branches below must be a subset of the branches above
branches: [master]
schedule:
- cron: "0 9 * * 2"
# on:
# push:
# branches: [master]
# pull_request:
# # The branches below must be a subset of the branches above
# branches: [master]
# schedule:
# - cron: "0 9 * * 2"

jobs:
analyze:
name: Analyze
runs-on: ubuntu-latest
if: ${{ !startsWith(github.event.head_commit.message, '[skip ci]') }}
# jobs:
# analyze:
# name: Analyze
# runs-on: ubuntu-latest
# if: ${{ !startsWith(github.event.head_commit.message, '[skip ci]') }}

strategy:
fail-fast: false
matrix:
# Override automatic language detection by changing the below list
# Supported options are ['csharp', 'cpp', 'go', 'java', 'javascript', 'python']
language: ["cpp", "python"]
# Learn more...
# https://docs.github.com/en/github/finding-security-vulnerabilities-and-errors-in-your-code/configuring-code-scanning#overriding-automatic-language-detection
# strategy:
# fail-fast: false
# matrix:
# # Override automatic language detection by changing the below list
# # Supported options are ['csharp', 'cpp', 'go', 'java', 'javascript', 'python']
# language: ["cpp", "python"]
# # Learn more...
# # https://docs.github.com/en/github/finding-security-vulnerabilities-and-errors-in-your-code/configuring-code-scanning#overriding-automatic-language-detection

steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Setup Python
if: matrix.language == 'python'
uses: actions/setup-python@v5
with:
python-version: "3.x"
- name: Install dependencies
if: matrix.language == 'python'
run: |
pip install -U setuptools cython numpy
# Set the `CODEQL-PYTHON` environment variable to the Python executable
# that includes the dependencies
echo "CODEQL_PYTHON=$(which python)" >> $GITHUB_ENV
# Initializes the CodeQL tools for scanning.
- name: Initialize CodeQL
uses: github/codeql-action/init@v3
with:
languages: ${{ matrix.language }}
# Override the default behavior so that the action doesn't attempt
# to auto-install Python dependencies
setup-python-dependencies: false
# If you wish to specify custom queries, you can do so here or in a config file.
# By default, queries listed here will override any specified in a config file.
# Prefix the list here with "+" to use these queries and those in the config file.
# queries: ./path/to/local/query, your-org/your-repo/queries@main
# steps:
# - name: Checkout repository
# uses: actions/checkout@v4
# - name: Setup Python
# if: matrix.language == 'python'
# uses: actions/setup-python@v5
# with:
# python-version: "3.x"
# - name: Install dependencies
# if: matrix.language == 'python'
# run: |
# pip install -U setuptools cython numpy
# # Set the `CODEQL-PYTHON` environment variable to the Python executable
# # that includes the dependencies
# echo "CODEQL_PYTHON=$(which python)" >> $GITHUB_ENV
# # Initializes the CodeQL tools for scanning.
# - name: Initialize CodeQL
# uses: github/codeql-action/init@v3
# with:
# languages: ${{ matrix.language }}
# # Override the default behavior so that the action doesn't attempt
# # to auto-install Python dependencies
# setup-python-dependencies: false
# # If you wish to specify custom queries, you can do so here or in a config file.
# # By default, queries listed here will override any specified in a config file.
# # Prefix the list here with "+" to use these queries and those in the config file.
# # queries: ./path/to/local/query, your-org/your-repo/queries@main

# Autobuild attempts to build any compiled languages (C/C++, C#, or Java).
# If this step fails, then you should remove it and run the build manually (see below)
- name: Autobuild
uses: github/codeql-action/autobuild@v3
# # Autobuild attempts to build any compiled languages (C/C++, C#, or Java).
# # If this step fails, then you should remove it and run the build manually (see below)
# - name: Autobuild
# uses: github/codeql-action/autobuild@v3

# ℹ️ Command-line programs to run using the OS shell.
# 📚 https://git.io/JvXDl
# # ℹ️ Command-line programs to run using the OS shell.
# # 📚 https://git.io/JvXDl

# ✏️ If the Autobuild fails above, remove it and uncomment the following three lines
# and modify them (or add more) to build your code if your project
# uses a compiled language
# # ✏️ If the Autobuild fails above, remove it and uncomment the following three lines
# # and modify them (or add more) to build your code if your project
# # uses a compiled language

#- run: |
# make bootstrap
# make release
# #- run: |
# # make bootstrap
# # make release

- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v3
# - name: Perform CodeQL Analysis
# uses: github/codeql-action/analyze@v3
Loading

0 comments on commit d9621db

Please sign in to comment.