Skip to content

Commit 4d271a9

Browse files
authored
merge scripts and add eol check (#27)
* move scripts to scripts/ Signed-off-by: Thing-han, Lim <[email protected]> * add checks for eol Signed-off-by: Thing-han, Lim <[email protected]> * move dev-support/README to scripts/ and update direnv section Signed-off-by: Thing-han, Lim <[email protected]> * append eol to all files Signed-off-by: Thing-han, Lim <[email protected]> * update ci lint job Signed-off-by: Thing-han, Lim <[email protected]> * update ci devshell Signed-off-by: Thing-han, Lim <[email protected]> * update devshell path Signed-off-by: Thing-han, Lim <[email protected]> * update scripts readme for direnv installation Signed-off-by: Thing-han, Lim <[email protected]> --------- Signed-off-by: Thing-han, Lim <[email protected]>
1 parent a66b9ae commit 4d271a9

38 files changed

+146
-123
lines changed

.github/pull_request_template.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,4 +13,4 @@
1313

1414
* [ ] Does this PR change the input/output behaviour of a cryptographic algorithm (i.e., does it change known answer test values)? (If so, a version bump will be required from *x.y.z* to *x.(y+1).0*.)
1515

16-
<!-- Once your pull request is ready for review and passing continuous integration tests, please convert from a draft PR to a normal PR, and request a review from one of the OQS core team members. -->
16+
<!-- Once your pull request is ready for review and passing continuous integration tests, please convert from a draft PR to a normal PR, and request a review from one of the OQS core team members. -->

.github/workflows/build.yaml

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -17,16 +17,10 @@ jobs:
1717
script: |
1818
astyle --version
1919
arm-none-eabi-gcc --version
20-
- name: Astyle
20+
- name: Lint
2121
shell: nix develop .#ci -c bash -e {0}
2222
run: |
23-
err=$(astyle $(git ls-files "*.c" "*.h") --options=.astylerc --dry-run --formatted | awk '{print $2}')
24-
if [[ ${#err} != 0 ]]; then
25-
echo "$err" | while IFS= read -r file; do
26-
echo "::error file={"$file"},title={checking}::Formatted $file"
27-
done
28-
exit 1
29-
fi
23+
lint
3024
- name: Build targets
3125
shell: nix develop .#ci -c bash -e {0}
3226
run: |

.github/workflows/scorecard.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,4 +58,4 @@ jobs:
5858
- name: "Upload SARIF results to code scanning"
5959
uses: github/codeql-action/upload-sarif@592977e6ae857384aa79bb31e7a1d62d63449ec5 # v2.16.3
6060
with:
61-
sarif_file: results.sarif
61+
sarif_file: results.sarif

CODE_OF_CONDUCT.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,4 @@
33

44
# Code of Conduct
55

6-
Please see [open issue](https://github.com/pq-code-package/tsc/issues/9)
6+
Please see [open issue](https://github.com/pq-code-package/tsc/issues/9)

CONTRIBUTING.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,4 @@
33

44
# Contributing
55

6-
to be completed
6+
to be completed

GOVERNANCE.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,4 @@
33

44
# Governance
55

6-
to be documented
6+
to be documented

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,4 +35,4 @@ clean:
3535
$(Q)rm -rf bin/
3636
$(Q)rm -rf obj/
3737

38-
distclean: libclean clean
38+
distclean: libclean clean

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ All the develop and build dependencies are specified in [flake.nix](flake.nix).
6363

6464
- If your're not using nix, please ensure you have installed the same version as specified in [flake.nix](flake.nix).
6565

66-
For further details, please refer to [DevSupport](dev-support/)
66+
For further details, please refer to [scripts/README.md](scripts/README.md)
6767

6868
## Running tests and benchmarks
6969

SECURITY.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,4 @@
33

44
# Security
55

6-
Please see [open issue](https://github.com/pq-code-package/tsc/issues/8)
6+
Please see [open issue](https://github.com/pq-code-package/tsc/issues/8)

SUPPORT.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,4 @@
33

44
# Support
55

6-
To be written.
6+
To be written.

0 commit comments

Comments
 (0)