Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/master'
Browse files Browse the repository at this point in the history
  • Loading branch information
sdqri committed Sep 9, 2024
2 parents 781a2db + 0968bf9 commit 399d0be
Show file tree
Hide file tree
Showing 3 changed files with 46 additions and 1 deletion.
20 changes: 20 additions & 0 deletions .github/workflows/code-coverage.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
name: Test and coverage

on: [push, pull_request]

jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-go@v5
with:
go-version: 'stable'
- name: Gather dependencies
run: go mod download
- name: Run coverage
run: go test -race -coverprofile=coverage.txt -covermode=atomic ./...
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v4
with:
token: ${{ secrets.CODECOV_TOKEN }}
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ For more information, detailed guides, and examples, please read the [documentat
With [Go module](https://github.com/golang/go/wiki/Modules) support, simply add the following import

```
import "github.com/sdqri/effdsl"
import "github.com/sdqri/effdsl/v2"
```

to your code, and then `go [build|run|test]` will automatically fetch the necessary dependencies.
Expand Down
25 changes: 25 additions & 0 deletions SECURITY.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
# Security Policy

## Supported Versions

The following versions of the project are currently supported with security updates:

| Version | Supported |
| ------- | ------------------ |
| v2.1.2 | :white_check_mark: |
| < v2.1.2| :x: |

## Reporting a Vulnerability

To report a security vulnerability in `effdsl`, follow these steps:

1. **Report the Issue:**
- Submit detailed descriptions of vulnerabilities as issues on the [GitHub Issues page](https://github.com/sdqri/effdsl/issues). Include as much information as possible, such as steps to reproduce, potential impact, and any relevant screenshots or logs.

2. **Communication:**
- Reports will be acknowledged as soon as possible. Updates on the progress of addressing the issue will be provided throughout the resolution process.

3. **Resolution and Disclosure:**
- If a vulnerability is confirmed, I will try to address it promptly. A patch will be released in a new version, and the status of affected versions will be updated on the [GitHub Releases page](https://github.com/sdqri/effdsl/releases). Relevant documentation will be updated accordingly.

Thank you for helping to keep `effdsl` secure!

0 comments on commit 399d0be

Please sign in to comment.