Skip to content

Commit

Permalink
Sample workflow (#2)
Browse files Browse the repository at this point in the history
  • Loading branch information
danielgospodinow authored Jan 27, 2024
1 parent 4c69596 commit 6e0807d
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .version
Original file line number Diff line number Diff line change
@@ -1 +1 @@
0.0.3
0.0.4
10 changes: 8 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,13 +9,15 @@ This is a simple GitHub Action that checks Golang codebases for potential Nil pa
Behind the hood, it uses Uber's [nilaway](https://github.com/qbaware/nilaway-action)
static analysis tool.
More useful information about it can be found in [this](https://www.uber.com/en-GB/blog/nilaway-practical-nil-panic-detection-for-go/)
Uber blog post or on their GitHub [repo](https://github.com/uber-go/nilaway).
Uber blog post or on their GitHub [repository](https://github.com/uber-go/nilaway).

## How To Use

### Figure Out The Inputs

As of now, the only input is the `package-to-scan` variable. This is the path to the Golang package you want to analyze. E.g. `./services/backend/...`.
As of now, the only input is the `package-to-scan` variable.
This is the path to the Golang package you want to analyze.
E.g. `./services/backend/...`.

### Modify Your Action

Expand All @@ -39,3 +41,7 @@ static-analysis:
```
### That's It 🎉
### Sample Workflow
![sample-workflow](./resources/sample-workflow.png)
Binary file added resources/sample-workflow.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 6e0807d

Please sign in to comment.