Skip to content

Commit 87c6334

Browse files
committed
fixing workflows
1 parent af2ad69 commit 87c6334

File tree

4 files changed

+71
-3
lines changed

4 files changed

+71
-3
lines changed

.github/workflows/awesome_workflow.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,8 @@ jobs:
1515
- uses: actions/setup-python@v2
1616
- name: requirements
1717
run: |
18-
sudo apt -qq -y update
19-
sudo apt -qq install clang-tidy-10 clang-format-10
18+
sudo apt-get -qq update
19+
sudo apt-get -qq install clang-tidy clang-format
2020
- name: Setup Git Specs
2121
run: |
2222
git config --global user.name github-actions

.github/workflows/codeql.yml

+56
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,56 @@
1+
name: "CodeQL"
2+
3+
on:
4+
push:
5+
branches: [ "master" ]
6+
pull_request:
7+
branches: [ "master" ]
8+
9+
jobs:
10+
analyze:
11+
name: Analyze
12+
runs-on: ubuntu-latest
13+
permissions:
14+
actions: read
15+
contents: read
16+
security-events: write
17+
18+
strategy:
19+
fail-fast: false
20+
matrix:
21+
language: [ 'cpp' ]
22+
steps:
23+
- name: Checkout repository
24+
uses: actions/checkout@v3
25+
- name: Initialize CodeQL
26+
uses: github/codeql-action/init@v2
27+
with:
28+
languages: ${{ matrix.language }}
29+
# If you wish to specify custom queries, you can do so here or in a config file.
30+
# By default, queries listed here will override any specified in a config file.
31+
# Prefix the list here with "+" to use these queries and those in the config file.
32+
33+
# 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
34+
# queries: security-extended,security-and-quality
35+
36+
# Autobuild attempts to build any compiled languages (C/C++, C#, Go, or Java).
37+
# If this step fails, then you should remove it and run the build manually (see below)
38+
- name: Autobuild
39+
uses: github/codeql-action/autobuild@v2
40+
41+
# ℹ️ Command-line programs to run using the OS shell.
42+
# 📚 See https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#jobsjob_idstepsrun
43+
44+
# If the Autobuild fails above, remove it and uncomment the following three lines.
45+
# modify them (or add more) to build your code if your project, please refer to the EXAMPLE below for guidance.
46+
47+
# - run: |
48+
# echo "Run, Build Application using script"
49+
# ./location_of_script_within_repo/buildscript.sh
50+
#
51+
# In our case, this would be a CMake build step.
52+
53+
- name: Perform CodeQL Analysis
54+
uses: github/codeql-action/analyze@v2
55+
with:
56+
category: "/language:${{matrix.language}}"

.github/workflows/gh-pages.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ jobs:
88
build:
99
runs-on: macos-latest
1010
steps:
11-
- uses: actions/checkout@master
11+
- uses: actions/checkout@v3
1212
with:
1313
submodules: true
1414
- name: Install requirements

DIRECTORY.md

+12
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@
1919
* [Binary To Hexadecimal](https://github.com/TheAlgorithms/C/blob/HEAD/conversions/binary_to_hexadecimal.c)
2020
* [Binary To Octal](https://github.com/TheAlgorithms/C/blob/HEAD/conversions/binary_to_octal.c)
2121
* [C Atoi Str To Integer](https://github.com/TheAlgorithms/C/blob/HEAD/conversions/c_atoi_str_to_integer.c)
22+
* [Celsius To Fahrenheit](https://github.com/TheAlgorithms/C/blob/HEAD/conversions/celsius_to_fahrenheit.c)
2223
* [Decimal To Any Base](https://github.com/TheAlgorithms/C/blob/HEAD/conversions/decimal_to_any_base.c)
2324
* [Decimal To Binary](https://github.com/TheAlgorithms/C/blob/HEAD/conversions/decimal_to_binary.c)
2425
* [Decimal To Binary Recursion](https://github.com/TheAlgorithms/C/blob/HEAD/conversions/decimal_to_binary_recursion.c)
@@ -33,6 +34,7 @@
3334
* [Octal To Binary](https://github.com/TheAlgorithms/C/blob/HEAD/conversions/octal_to_binary.c)
3435
* [Octal To Decimal](https://github.com/TheAlgorithms/C/blob/HEAD/conversions/octal_to_decimal.c)
3536
* [Octal To Hexadecimal](https://github.com/TheAlgorithms/C/blob/HEAD/conversions/octal_to_hexadecimal.c)
37+
* [Roman Numerals To Decimal](https://github.com/TheAlgorithms/C/blob/HEAD/conversions/roman_numerals_to_decimal.c)
3638
* [To Decimal](https://github.com/TheAlgorithms/C/blob/HEAD/conversions/to_decimal.c)
3739

3840
## Data Structures
@@ -190,15 +192,19 @@
190192
* [1524](https://github.com/TheAlgorithms/C/blob/HEAD/leetcode/src/1524.c)
191193
* [153](https://github.com/TheAlgorithms/C/blob/HEAD/leetcode/src/153.c)
192194
* [160](https://github.com/TheAlgorithms/C/blob/HEAD/leetcode/src/160.c)
195+
* [1653](https://github.com/TheAlgorithms/C/blob/HEAD/leetcode/src/1653.c)
193196
* [169](https://github.com/TheAlgorithms/C/blob/HEAD/leetcode/src/169.c)
197+
* [1695](https://github.com/TheAlgorithms/C/blob/HEAD/leetcode/src/1695.c)
194198
* [173](https://github.com/TheAlgorithms/C/blob/HEAD/leetcode/src/173.c)
195199
* [1752](https://github.com/TheAlgorithms/C/blob/HEAD/leetcode/src/1752.c)
200+
* [1769](https://github.com/TheAlgorithms/C/blob/HEAD/leetcode/src/1769.c)
196201
* [189](https://github.com/TheAlgorithms/C/blob/HEAD/leetcode/src/189.c)
197202
* [190](https://github.com/TheAlgorithms/C/blob/HEAD/leetcode/src/190.c)
198203
* [191](https://github.com/TheAlgorithms/C/blob/HEAD/leetcode/src/191.c)
199204
* [2](https://github.com/TheAlgorithms/C/blob/HEAD/leetcode/src/2.c)
200205
* [20](https://github.com/TheAlgorithms/C/blob/HEAD/leetcode/src/20.c)
201206
* [201](https://github.com/TheAlgorithms/C/blob/HEAD/leetcode/src/201.c)
207+
* [2024](https://github.com/TheAlgorithms/C/blob/HEAD/leetcode/src/2024.c)
202208
* [203](https://github.com/TheAlgorithms/C/blob/HEAD/leetcode/src/203.c)
203209
* [206](https://github.com/TheAlgorithms/C/blob/HEAD/leetcode/src/206.c)
204210
* [21](https://github.com/TheAlgorithms/C/blob/HEAD/leetcode/src/21.c)
@@ -207,6 +213,7 @@
207213
* [217](https://github.com/TheAlgorithms/C/blob/HEAD/leetcode/src/217.c)
208214
* [223](https://github.com/TheAlgorithms/C/blob/HEAD/leetcode/src/223.c)
209215
* [226](https://github.com/TheAlgorithms/C/blob/HEAD/leetcode/src/226.c)
216+
* [2304](https://github.com/TheAlgorithms/C/blob/HEAD/leetcode/src/2304.c)
210217
* [231](https://github.com/TheAlgorithms/C/blob/HEAD/leetcode/src/231.c)
211218
* [234](https://github.com/TheAlgorithms/C/blob/HEAD/leetcode/src/234.c)
212219
* [24](https://github.com/TheAlgorithms/C/blob/HEAD/leetcode/src/24.c)
@@ -228,6 +235,7 @@
228235
* [389](https://github.com/TheAlgorithms/C/blob/HEAD/leetcode/src/389.c)
229236
* [4](https://github.com/TheAlgorithms/C/blob/HEAD/leetcode/src/4.c)
230237
* [404](https://github.com/TheAlgorithms/C/blob/HEAD/leetcode/src/404.c)
238+
* [42](https://github.com/TheAlgorithms/C/blob/HEAD/leetcode/src/42.c)
231239
* [442](https://github.com/TheAlgorithms/C/blob/HEAD/leetcode/src/442.c)
232240
* [461](https://github.com/TheAlgorithms/C/blob/HEAD/leetcode/src/461.c)
233241
* [476](https://github.com/TheAlgorithms/C/blob/HEAD/leetcode/src/476.c)
@@ -242,6 +250,7 @@
242250
* [63](https://github.com/TheAlgorithms/C/blob/HEAD/leetcode/src/63.c)
243251
* [647](https://github.com/TheAlgorithms/C/blob/HEAD/leetcode/src/647.c)
244252
* [66](https://github.com/TheAlgorithms/C/blob/HEAD/leetcode/src/66.c)
253+
* [669](https://github.com/TheAlgorithms/C/blob/HEAD/leetcode/src/669.c)
245254
* [674](https://github.com/TheAlgorithms/C/blob/HEAD/leetcode/src/674.c)
246255
* [7](https://github.com/TheAlgorithms/C/blob/HEAD/leetcode/src/7.c)
247256
* [700](https://github.com/TheAlgorithms/C/blob/HEAD/leetcode/src/700.c)
@@ -255,12 +264,15 @@
255264
* [852](https://github.com/TheAlgorithms/C/blob/HEAD/leetcode/src/852.c)
256265
* [876](https://github.com/TheAlgorithms/C/blob/HEAD/leetcode/src/876.c)
257266
* [9](https://github.com/TheAlgorithms/C/blob/HEAD/leetcode/src/9.c)
267+
* [901](https://github.com/TheAlgorithms/C/blob/HEAD/leetcode/src/901.c)
258268
* [905](https://github.com/TheAlgorithms/C/blob/HEAD/leetcode/src/905.c)
259269
* [917](https://github.com/TheAlgorithms/C/blob/HEAD/leetcode/src/917.c)
260270
* [938](https://github.com/TheAlgorithms/C/blob/HEAD/leetcode/src/938.c)
261271
* [94](https://github.com/TheAlgorithms/C/blob/HEAD/leetcode/src/94.c)
262272
* [965](https://github.com/TheAlgorithms/C/blob/HEAD/leetcode/src/965.c)
263273
* [977](https://github.com/TheAlgorithms/C/blob/HEAD/leetcode/src/977.c)
274+
* [98](https://github.com/TheAlgorithms/C/blob/HEAD/leetcode/src/98.c)
275+
* [985](https://github.com/TheAlgorithms/C/blob/HEAD/leetcode/src/985.c)
264276

265277
## Machine Learning
266278
* [Adaline Learning](https://github.com/TheAlgorithms/C/blob/HEAD/machine_learning/adaline_learning.c)

0 commit comments

Comments
 (0)