mirror of
https://github.com/TheAlgorithms/C
synced 2024-11-25 06:49:36 +03:00
fix: Awesome Workflow issues (#1176)
* Delete codeql_analysis.yml * fixing workflows
This commit is contained in:
parent
2ee92040f3
commit
c97a33a6c2
4
.github/workflows/awesome_workflow.yml
vendored
4
.github/workflows/awesome_workflow.yml
vendored
@ -15,8 +15,8 @@ jobs:
|
||||
- uses: actions/setup-python@v2
|
||||
- name: requirements
|
||||
run: |
|
||||
sudo apt -qq -y update
|
||||
sudo apt -qq install clang-tidy-10 clang-format-10
|
||||
sudo apt-get -qq update
|
||||
sudo apt-get -qq install clang-tidy clang-format
|
||||
- name: Setup Git Specs
|
||||
run: |
|
||||
git config --global user.name github-actions
|
||||
|
56
.github/workflows/codeql.yml
vendored
Normal file
56
.github/workflows/codeql.yml
vendored
Normal file
@ -0,0 +1,56 @@
|
||||
name: "CodeQL"
|
||||
|
||||
on:
|
||||
push:
|
||||
branches: [ "master" ]
|
||||
pull_request:
|
||||
branches: [ "master" ]
|
||||
|
||||
jobs:
|
||||
analyze:
|
||||
name: Analyze
|
||||
runs-on: ubuntu-latest
|
||||
permissions:
|
||||
actions: read
|
||||
contents: read
|
||||
security-events: write
|
||||
|
||||
strategy:
|
||||
fail-fast: false
|
||||
matrix:
|
||||
language: [ 'cpp' ]
|
||||
steps:
|
||||
- name: Checkout repository
|
||||
uses: actions/checkout@v3
|
||||
- name: Initialize CodeQL
|
||||
uses: github/codeql-action/init@v2
|
||||
with:
|
||||
languages: ${{ matrix.language }}
|
||||
# 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.
|
||||
|
||||
# Details on CodeQL's query packs refer to : https://docs.github.com/en/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-code-scanning#using-queries-in-ql-packs
|
||||
# queries: security-extended,security-and-quality
|
||||
|
||||
# Autobuild attempts to build any compiled languages (C/C++, C#, Go, 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@v2
|
||||
|
||||
# ℹ️ Command-line programs to run using the OS shell.
|
||||
# 📚 See https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#jobsjob_idstepsrun
|
||||
|
||||
# If the Autobuild fails above, remove it and uncomment the following three lines.
|
||||
# modify them (or add more) to build your code if your project, please refer to the EXAMPLE below for guidance.
|
||||
|
||||
# - run: |
|
||||
# echo "Run, Build Application using script"
|
||||
# ./location_of_script_within_repo/buildscript.sh
|
||||
#
|
||||
# In our case, this would be a CMake build step.
|
||||
|
||||
- name: Perform CodeQL Analysis
|
||||
uses: github/codeql-action/analyze@v2
|
||||
with:
|
||||
category: "/language:${{matrix.language}}"
|
48
.github/workflows/codeql_analysis.yml
vendored
48
.github/workflows/codeql_analysis.yml
vendored
@ -1,48 +0,0 @@
|
||||
name: "CodeQL"
|
||||
on: [push, pull_request]
|
||||
|
||||
jobs:
|
||||
analyze:
|
||||
name: Analyze
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
strategy:
|
||||
fail-fast: false
|
||||
matrix:
|
||||
language: [ 'cpp' ]
|
||||
# CodeQL supports [ 'cpp', 'csharp', 'go', 'java', 'javascript', 'python' ]
|
||||
# Learn more:
|
||||
# https://docs.github.com/en/free-pro-team@latest/github/finding-security-vulnerabilities-and-errors-in-your-code/configuring-code-scanning#changing-the-languages-that-are-analyzed
|
||||
|
||||
steps:
|
||||
- name: Checkout repository
|
||||
uses: actions/checkout@main
|
||||
|
||||
# Initializes the CodeQL tools for scanning.
|
||||
- name: Initialize CodeQL
|
||||
uses: github/codeql-action/init@main
|
||||
with:
|
||||
languages: ${{ matrix.language }}
|
||||
# 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@main
|
||||
|
||||
# ℹ️ 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
|
||||
|
||||
#- run: |
|
||||
# make bootstrap
|
||||
# make release
|
||||
|
||||
- name: Perform CodeQL Analysis
|
||||
uses: github/codeql-action/analyze@main
|
2
.github/workflows/gh-pages.yml
vendored
2
.github/workflows/gh-pages.yml
vendored
@ -8,7 +8,7 @@ jobs:
|
||||
build:
|
||||
runs-on: macos-latest
|
||||
steps:
|
||||
- uses: actions/checkout@master
|
||||
- uses: actions/checkout@v3
|
||||
with:
|
||||
submodules: true
|
||||
- name: Install requirements
|
||||
|
12
DIRECTORY.md
12
DIRECTORY.md
@ -19,6 +19,7 @@
|
||||
* [Binary To Hexadecimal](https://github.com/TheAlgorithms/C/blob/HEAD/conversions/binary_to_hexadecimal.c)
|
||||
* [Binary To Octal](https://github.com/TheAlgorithms/C/blob/HEAD/conversions/binary_to_octal.c)
|
||||
* [C Atoi Str To Integer](https://github.com/TheAlgorithms/C/blob/HEAD/conversions/c_atoi_str_to_integer.c)
|
||||
* [Celsius To Fahrenheit](https://github.com/TheAlgorithms/C/blob/HEAD/conversions/celsius_to_fahrenheit.c)
|
||||
* [Decimal To Any Base](https://github.com/TheAlgorithms/C/blob/HEAD/conversions/decimal_to_any_base.c)
|
||||
* [Decimal To Binary](https://github.com/TheAlgorithms/C/blob/HEAD/conversions/decimal_to_binary.c)
|
||||
* [Decimal To Binary Recursion](https://github.com/TheAlgorithms/C/blob/HEAD/conversions/decimal_to_binary_recursion.c)
|
||||
@ -33,6 +34,7 @@
|
||||
* [Octal To Binary](https://github.com/TheAlgorithms/C/blob/HEAD/conversions/octal_to_binary.c)
|
||||
* [Octal To Decimal](https://github.com/TheAlgorithms/C/blob/HEAD/conversions/octal_to_decimal.c)
|
||||
* [Octal To Hexadecimal](https://github.com/TheAlgorithms/C/blob/HEAD/conversions/octal_to_hexadecimal.c)
|
||||
* [Roman Numerals To Decimal](https://github.com/TheAlgorithms/C/blob/HEAD/conversions/roman_numerals_to_decimal.c)
|
||||
* [To Decimal](https://github.com/TheAlgorithms/C/blob/HEAD/conversions/to_decimal.c)
|
||||
|
||||
## Data Structures
|
||||
@ -190,15 +192,19 @@
|
||||
* [1524](https://github.com/TheAlgorithms/C/blob/HEAD/leetcode/src/1524.c)
|
||||
* [153](https://github.com/TheAlgorithms/C/blob/HEAD/leetcode/src/153.c)
|
||||
* [160](https://github.com/TheAlgorithms/C/blob/HEAD/leetcode/src/160.c)
|
||||
* [1653](https://github.com/TheAlgorithms/C/blob/HEAD/leetcode/src/1653.c)
|
||||
* [169](https://github.com/TheAlgorithms/C/blob/HEAD/leetcode/src/169.c)
|
||||
* [1695](https://github.com/TheAlgorithms/C/blob/HEAD/leetcode/src/1695.c)
|
||||
* [173](https://github.com/TheAlgorithms/C/blob/HEAD/leetcode/src/173.c)
|
||||
* [1752](https://github.com/TheAlgorithms/C/blob/HEAD/leetcode/src/1752.c)
|
||||
* [1769](https://github.com/TheAlgorithms/C/blob/HEAD/leetcode/src/1769.c)
|
||||
* [189](https://github.com/TheAlgorithms/C/blob/HEAD/leetcode/src/189.c)
|
||||
* [190](https://github.com/TheAlgorithms/C/blob/HEAD/leetcode/src/190.c)
|
||||
* [191](https://github.com/TheAlgorithms/C/blob/HEAD/leetcode/src/191.c)
|
||||
* [2](https://github.com/TheAlgorithms/C/blob/HEAD/leetcode/src/2.c)
|
||||
* [20](https://github.com/TheAlgorithms/C/blob/HEAD/leetcode/src/20.c)
|
||||
* [201](https://github.com/TheAlgorithms/C/blob/HEAD/leetcode/src/201.c)
|
||||
* [2024](https://github.com/TheAlgorithms/C/blob/HEAD/leetcode/src/2024.c)
|
||||
* [203](https://github.com/TheAlgorithms/C/blob/HEAD/leetcode/src/203.c)
|
||||
* [206](https://github.com/TheAlgorithms/C/blob/HEAD/leetcode/src/206.c)
|
||||
* [21](https://github.com/TheAlgorithms/C/blob/HEAD/leetcode/src/21.c)
|
||||
@ -207,6 +213,7 @@
|
||||
* [217](https://github.com/TheAlgorithms/C/blob/HEAD/leetcode/src/217.c)
|
||||
* [223](https://github.com/TheAlgorithms/C/blob/HEAD/leetcode/src/223.c)
|
||||
* [226](https://github.com/TheAlgorithms/C/blob/HEAD/leetcode/src/226.c)
|
||||
* [2304](https://github.com/TheAlgorithms/C/blob/HEAD/leetcode/src/2304.c)
|
||||
* [231](https://github.com/TheAlgorithms/C/blob/HEAD/leetcode/src/231.c)
|
||||
* [234](https://github.com/TheAlgorithms/C/blob/HEAD/leetcode/src/234.c)
|
||||
* [24](https://github.com/TheAlgorithms/C/blob/HEAD/leetcode/src/24.c)
|
||||
@ -228,6 +235,7 @@
|
||||
* [389](https://github.com/TheAlgorithms/C/blob/HEAD/leetcode/src/389.c)
|
||||
* [4](https://github.com/TheAlgorithms/C/blob/HEAD/leetcode/src/4.c)
|
||||
* [404](https://github.com/TheAlgorithms/C/blob/HEAD/leetcode/src/404.c)
|
||||
* [42](https://github.com/TheAlgorithms/C/blob/HEAD/leetcode/src/42.c)
|
||||
* [442](https://github.com/TheAlgorithms/C/blob/HEAD/leetcode/src/442.c)
|
||||
* [461](https://github.com/TheAlgorithms/C/blob/HEAD/leetcode/src/461.c)
|
||||
* [476](https://github.com/TheAlgorithms/C/blob/HEAD/leetcode/src/476.c)
|
||||
@ -242,6 +250,7 @@
|
||||
* [63](https://github.com/TheAlgorithms/C/blob/HEAD/leetcode/src/63.c)
|
||||
* [647](https://github.com/TheAlgorithms/C/blob/HEAD/leetcode/src/647.c)
|
||||
* [66](https://github.com/TheAlgorithms/C/blob/HEAD/leetcode/src/66.c)
|
||||
* [669](https://github.com/TheAlgorithms/C/blob/HEAD/leetcode/src/669.c)
|
||||
* [674](https://github.com/TheAlgorithms/C/blob/HEAD/leetcode/src/674.c)
|
||||
* [7](https://github.com/TheAlgorithms/C/blob/HEAD/leetcode/src/7.c)
|
||||
* [700](https://github.com/TheAlgorithms/C/blob/HEAD/leetcode/src/700.c)
|
||||
@ -255,12 +264,15 @@
|
||||
* [852](https://github.com/TheAlgorithms/C/blob/HEAD/leetcode/src/852.c)
|
||||
* [876](https://github.com/TheAlgorithms/C/blob/HEAD/leetcode/src/876.c)
|
||||
* [9](https://github.com/TheAlgorithms/C/blob/HEAD/leetcode/src/9.c)
|
||||
* [901](https://github.com/TheAlgorithms/C/blob/HEAD/leetcode/src/901.c)
|
||||
* [905](https://github.com/TheAlgorithms/C/blob/HEAD/leetcode/src/905.c)
|
||||
* [917](https://github.com/TheAlgorithms/C/blob/HEAD/leetcode/src/917.c)
|
||||
* [938](https://github.com/TheAlgorithms/C/blob/HEAD/leetcode/src/938.c)
|
||||
* [94](https://github.com/TheAlgorithms/C/blob/HEAD/leetcode/src/94.c)
|
||||
* [965](https://github.com/TheAlgorithms/C/blob/HEAD/leetcode/src/965.c)
|
||||
* [977](https://github.com/TheAlgorithms/C/blob/HEAD/leetcode/src/977.c)
|
||||
* [98](https://github.com/TheAlgorithms/C/blob/HEAD/leetcode/src/98.c)
|
||||
* [985](https://github.com/TheAlgorithms/C/blob/HEAD/leetcode/src/985.c)
|
||||
|
||||
## Machine Learning
|
||||
* [Adaline Learning](https://github.com/TheAlgorithms/C/blob/HEAD/machine_learning/adaline_learning.c)
|
||||
|
Loading…
Reference in New Issue
Block a user