Skip to content

Commit

Permalink
Add Github Actions
Browse files Browse the repository at this point in the history
Markdownlint and Shellcheck
  • Loading branch information
thibmeu committed Jan 26, 2024
1 parent be34328 commit c511a5b
Show file tree
Hide file tree
Showing 2 changed files with 28 additions and 3 deletions.
25 changes: 25 additions & 0 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
name: "CI Checks"
permissions: {}

on: [push, pull_request]

jobs:
markdownlint:
name: Markdownlint
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Run Markdownlint
uses: DavidAnson/markdownlint-cli2-action@v15
with:
globs: |
README.md
shellcheck:
name: Shellcheck
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Run ShellCheck
uses: ludeeus/action-shellcheck@2
with:
scandir: './scripts'
6 changes: 3 additions & 3 deletions scripts/generate.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@
########

# Generate public keys
for n in {1024,2048,4096}; do openssl dsa -in ./pem/testDLP${n}.pem -pubout -out ./pem/testDLP${n}.pub.pem; done
for n in {256,384,521}; do openssl ec -in ./pem/testECCP${n}.pem -pubout -out ./pem/testECCP${n}.pub.pem; done
for n in {1024,2048,4096}; do openssl rsa -in ./pem/testRSA${n}.pem -pubout -out ./pem/testRSA${n}.pub.pem; done
for n in {1024,2048,4096}; do openssl dsa -in "./pem/testDLP${n}.pem" -pubout -out "./pem/testDLP${n}.pub.pem"; done
for n in {256,384,521}; do openssl ec -in "./pem/testECCP${n}.pem" -pubout -out "./pem/testECCP${n}.pub.pem"; done
for n in {1024,2048,4096}; do openssl rsa -in "./pem/testRSA${n}.pem" -pubout -out "./pem/testRSA${n}.pub.pem"; done


########
Expand Down

0 comments on commit c511a5b

Please sign in to comment.