Skip to content

Commit

Permalink
fix default dir
Browse files Browse the repository at this point in the history
  • Loading branch information
oldsj committed Feb 1, 2023
1 parent d2a1f53 commit 4e988d1
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 4e988d1

Please sign in to comment.