Add working-directory support (#18)

Add working-directory support

Fixes #15
This commit is contained in:
Stephanie Hobbs
2020-05-21 12:36:02 +01:00
committed by GitHub
parent 85a3a6abe4
commit 20d5541dab
5 changed files with 45 additions and 12 deletions

View File

@@ -10,9 +10,9 @@ inputs:
description: 'golangci-lint command line arguments'
default: ''
required: false
github-token:
description: 'GitHub token with scope `repo.public_repo`. Used for fetching a list of releases of golangci-lint.'
required: true
working-directory:
description: 'golangci-lint working directory, default is project root'
required: false
runs:
using: 'node12'
@@ -20,4 +20,4 @@ runs:
post: 'dist/post_run/index.js'
branding:
icon: 'shield'
color: 'yellow'
color: 'yellow'