Skip to content
shield

GitHub Action

Nancy for GitHub Actions

1.0.0 Latest version
Use latest version
shield

Nancy for GitHub Actions

Run Sonatype Nancy as part of your GitHub Actions workflow

Installation

Copy and paste the following snippet into your .yml file.

- name: Nancy for GitHub Actions
  uses: sonatype-nexus-community/nancy-github-action@1.0.0
Learn more about this action in sonatype-nexus-community/nancy-github-action
Choose a version

Nancy for GitHub Actions

Run Sonatype Nancy as part of your GitHub Actions workflow.

Inputs

target

Required This is the path to the go.sum or Gopkg.lock file.

Example Usage

name: Go Nancy

on: [push]

jobs:
  build:

    runs-on: ubuntu-latest

    steps:
    - uses: actions/checkout@v1
    - name: Nancy
      uses: sonatype-nexus-community/nancy-github-action@master
      with:
        target: go.sum

The Fine Print

It is worth noting that this is NOT SUPPORTED by Sonatype, and is a contribution of ours to the open source community (read: you!)

Remember:

  • Use this contribution at the risk tolerance that you have
  • Do NOT file Sonatype support tickets related to Nancy for GitHub Actions support in regard to this project
  • DO file issues here on GitHub, so that the community can pitch in

Phew, that was easier than I thought. Last but not least of all:

Have fun creating and using Nancy for GitHub Actions, we are glad to have you here!

Getting help

Looking to contribute to our code but need some help? There's a few ways to get information:

You can’t perform that action at this time.