You're viewing an older version of this GitHub Action. Do you want to see the latest version instead?
GitHub Action
Nilaway Action
v0.0.1
This is a simple GitHub Action that checks Golang codebases for potential Nil panics.
First, make sure to define the necessary input for the Action. You'd have to provide a package that has to be scanned.
To do this, you can leverage GitHub
variables.
In short, go to your repository's Settings
tab and add the variables under Secrets and variables
then Actions
.
Add the following deploy
job in your Action.
nil-check:
# Assuming the `build` job builds the project,
# we define a dependency on it.
needs: build
runs-on: ubuntu-latest
steps:
- name: Scan using nilaway
uses: qbaware/nilaway-action@v0
with:
package-to-scan: "./..."