From 0438ad3eadf89e689f9c115382e0f7db252db5d4 Mon Sep 17 00:00:00 2001 From: Elisha Silas Date: Tue, 16 Apr 2024 14:25:12 +0300 Subject: [PATCH 1/6] remove echo hello world from run.sh --- run.sh | 1 - 1 file changed, 1 deletion(-) diff --git a/run.sh b/run.sh index 203f6b1..458eed1 100755 --- a/run.sh +++ b/run.sh @@ -1,3 +1,2 @@ #!/bin/bash -echo "running go-daraja test" go test -cover -v ./... \ No newline at end of file From 172ccda2f84fb17a3203a2529159a1ce7f73f942 Mon Sep 17 00:00:00 2001 From: Elisha Silas <86970666+silaselisha@users.noreply.github.com> Date: Tue, 16 Apr 2024 19:03:47 +0300 Subject: [PATCH 2/6] configure github action workflow for go-daraja (#19) * configure github action workflow for go-daraja * configure github action workflow for go-daraja * configure github action workflow for go-daraja * configure github action workflow for go-daraja * configure github action workflow for go-daraja * configure github action workflow for go-daraja * configure github action workflow for go-daraja * configure github action workflow for go-daraja * configure github action workflow for go-daraja * configure github action workflow for go-daraja --- .circleci/config.yml | 31 ------------------------------- .github/workflows/cicd.yml | 15 +++++++++++++++ 2 files changed, 15 insertions(+), 31 deletions(-) delete mode 100644 .circleci/config.yml create mode 100644 .github/workflows/cicd.yml diff --git a/.circleci/config.yml b/.circleci/config.yml deleted file mode 100644 index a602235..0000000 --- a/.circleci/config.yml +++ /dev/null @@ -1,31 +0,0 @@ -version: 2.1 -orbs: - go: circleci/go@1.7.3 -jobs: - build_and_test: - executor: - name: go/default - tag: '1.22.0' - steps: - - checkout - - go/load-cache - - go/mod-download - - go/save-cache - - run: - name: list dirs - command: ls -al - - go/test: - covermode: atomic - failfast: true - race: true - - persist_to_workspace: - root: ~/project - paths: - - "." -workflows: - build: - jobs: - - build_and_test - - - diff --git a/.github/workflows/cicd.yml b/.github/workflows/cicd.yml new file mode 100644 index 0000000..cf307f4 --- /dev/null +++ b/.github/workflows/cicd.yml @@ -0,0 +1,15 @@ +name: go-daraja tests +on: + [push] +jobs: + go-daraja-tests: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + - name: setting golang environment + uses: actions/setup-go@v3 + with: + go-version: "1.22.x" + + - name: run go-daraja tests + run: ./run.sh \ No newline at end of file From 6799fe655660e9ba99c3018a1a1f44bc50f42ca5 Mon Sep 17 00:00:00 2001 From: Elisha Silas <86970666+silaselisha@users.noreply.github.com> Date: Tue, 16 Apr 2024 19:18:15 +0300 Subject: [PATCH 3/6] Create SECURITY.md --- SECURITY.md | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 SECURITY.md diff --git a/SECURITY.md b/SECURITY.md new file mode 100644 index 0000000..35a8180 --- /dev/null +++ b/SECURITY.md @@ -0,0 +1,18 @@ +# Security Policy + +## Supported Versions + +Use this section to tell people about which versions of your project are +currently being supported with security updates. + +| Version | Supported | +| ------- | ------------------ | +| 0.5.x | :white_check_mark: | + +## Reporting a Vulnerability + +Use this section to tell people how to report a vulnerability. + +Tell them where to go, how often they can expect to get an update on a +reported vulnerability, what to expect if the vulnerability is accepted or +declined, etc. From a542028453061c9e94c08d2a4231326116e175b5 Mon Sep 17 00:00:00 2001 From: Elisha Silas <86970666+silaselisha@users.noreply.github.com> Date: Tue, 16 Apr 2024 19:20:54 +0300 Subject: [PATCH 4/6] Create SECURITY.md (#20) From 34fcec32f1618a427bf05b34b181ae9c5e47e363 Mon Sep 17 00:00:00 2001 From: Elisha Silas <86970666+silaselisha@users.noreply.github.com> Date: Tue, 16 Apr 2024 19:23:23 +0300 Subject: [PATCH 5/6] Update SECURITY.md --- SECURITY.md | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/SECURITY.md b/SECURITY.md index 35a8180..bfe9fed 100644 --- a/SECURITY.md +++ b/SECURITY.md @@ -2,8 +2,7 @@ ## Supported Versions -Use this section to tell people about which versions of your project are -currently being supported with security updates. +The versions currently being supported with security updates. | Version | Supported | | ------- | ------------------ | @@ -11,8 +10,4 @@ currently being supported with security updates. ## Reporting a Vulnerability -Use this section to tell people how to report a vulnerability. - -Tell them where to go, how often they can expect to get an update on a -reported vulnerability, what to expect if the vulnerability is accepted or -declined, etc. +Create an issues to regarding what you've identified to be a vulnerability. From 9e9b70257bc322394c8720d127589d4fde751bf2 Mon Sep 17 00:00:00 2001 From: Elisha Silas <86970666+silaselisha@users.noreply.github.com> Date: Tue, 16 Apr 2024 19:24:39 +0300 Subject: [PATCH 6/6] Update SECURITY.md --- SECURITY.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/SECURITY.md b/SECURITY.md index bfe9fed..f363e44 100644 --- a/SECURITY.md +++ b/SECURITY.md @@ -10,4 +10,4 @@ The versions currently being supported with security updates. ## Reporting a Vulnerability -Create an issues to regarding what you've identified to be a vulnerability. +Create an issue for what you've identified to be a vulnerability.