Skip to content

Commit

Permalink
Replace test.yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
sergerad committed Nov 22, 2023
1 parent 9d556e0 commit 5c704a3
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 38 deletions.
8 changes: 8 additions & 0 deletions .github/workflows/coverage.yaml → .github/workflows/pr.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,14 @@ jobs:
with:
go-version-file: 'go.mod'

- name: Run lint
uses: golangci/golangci-lint-action@v3
with:
version: v1.55

- name: Go build
run: go build -v ./...

- name: Run Test
run: |
go test -v ./... -covermode=count -coverprofile=coverage.out
Expand Down
37 changes: 0 additions & 37 deletions .github/workflows/test.yaml

This file was deleted.

3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
# Relax
![Coverage](https://img.shields.io/badge/Coverage-100.0%25-brightgreen)
#### *...there's no need to panic.*

![Coverage](https://img.shields.io/badge/Coverage-100.0%25-brightgreen)

In some situations, encountering a panic can be problematic. For example:
* If your REST server panics while handling a POST request, you may end up with a dangling resource in your database;
* Applications that write state to filesystems may produce irrecoverable state if a series of dependant file writes is interrupted by a panic; and
Expand Down

0 comments on commit 5c704a3

Please sign in to comment.