Skip to content

Commit

Permalink
Fix default dir
Browse files Browse the repository at this point in the history
Fix default dir
  • Loading branch information
oldsj authored Feb 1, 2023
2 parents d2a1f53 + 4e988d1 commit d261a2a
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ on:
description: "the directory to run the lint in"
required: false
type: string
default: ${{ github.workspace }}
default: "."
continue-on-error:
description: "don't mark the job as failed if a lint fails"
default: false
Expand Down Expand Up @@ -121,7 +121,6 @@ jobs:
with:
go-version-file: "${{ inputs.directory }}/go.mod"
go-version: "${{ inputs.go-version }}"
working-directory: "${{ inputs.directory }}"

- name: run golangci-lint (go)
if: inputs.language == 'go' && inputs.type == ''
Expand Down

0 comments on commit d261a2a

Please sign in to comment.